- Home /
How to code in coins
https://www.youtube.com/watch?v=XnKKaL5iwDM&t=271s Sorry for any spelling and grammar errors. I tried this tutorial, link above. However when I tested it on the 6:57 mark, the console spammed me a error that said "There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene." when I touched the "Coin".I need help trying to fix this issue. Thank you, and sorry for the annoyance.
Answer by QuiQui1234 · Nov 23, 2018 at 03:04 AM
Make sure that your camera in your scene only has one audio listener. Click on your main camera and see if you accidentally added a second one and delete one of them. Otherwise just type in "Audio listener" in the search bar on the hierarchy tab. That would find any objects that also have an audio listener attached. Delete any that are on any objects but your main camera. Hopefully, that should fix it :)
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Following the wiki.unity scripting tutorial... 1 Answer
Distribute terrain in zones 3 Answers
is expected error 1 Answer
Errors in adveture game tutorial 0 Answers