- Home /
Duplicate Question
Error message from console after destroying an Object with sound Logical Error ?
Whats up guys , First of all I'm new to Unity so please If my problem is so obvious don't Judge me , Second,I had a Logical Problem I guess , The game is about a cannon that shoot balls to destroy objects , when the target get hit it will give red color,destroy and re-spawn in a new random location..
the problem is I got this console message shows after the object get destroyed and it bugs me to find the reason, Also I got a sound problem that is assigned to the ball when it hits the target it should play , but it plays every time the ball hit something ..
here is the Image of the ball script and includes the sound (the cannon ball is a prefab) :
And Here is and Image of the console message that shows ONLY after the object get destroyed in game :
Can Anyone Please Solve my issue ?
It really stopping my from progressing ...
Follow this Question
Related Questions
Error message from console after destroying an Object ? 1 Answer
Distribute terrain in zones 3 Answers
NullReferenceException - When destroying Object 1 Answer
Why won't my script load? 1 Answer
Multiple Cars not working 1 Answer