- Home /
Sound plays even though on awake is unticked
I looking into similar threads with this issue and sadly my issue is not being resolved how theirs was. I have a sprite that when it is collected a sound is played. As soon as the game starts any audio I attach is playing. I have deleted the sprite and remade it and the issue is still the same, however for my 7 other sprites there is no issue.
Does anyone know why this may be an issue?
I have this problem too and literally nobody on unity's discord or on stackoverflow is helping me fix it. I feel you man, unity has so many errors that the staff just wont fix and the community won't help you fix yourself.
Answer by Beylan0 · Jul 03, 2020 at 09:03 PM
There might be a problem with your script, or your gameobject collides with something at the beginning. Check if you have proper if statement in OnTriggerEnter or OnCollisionEnter for checking collider's layer or tag. @unity_s4CAfmMCe-L9TQ @ZenTheDev1
Your answer
Follow this Question
Related Questions
How to get sound to play on barrel Explosion 1 Answer
How to detect different parts in sprite? 2 Answers
Alternate between two Audio clips on collision 3 Answers
Activate trigger if items colected 1 Answer
Play Animation OnTriggerEnter 2 Answers