There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene.

What does this mean?
I only have my 1st person controller ,terrain,camera.and light in the scene

When i disable the audio listener from the main camera the "two audio listeners" notification disappears, but i get one of those yellow triangles with a " ! " in them that says "the refference script for this behaviour is missing", when i test-play the game. If i enable the audio listener in the main camera then that error disappears and the "two audio listeners" notification is back. I'm using the built-in FPS controller script for my character if that helps any

Nothing happen how many (Audio Listener) is added in your scene. This is nothing affect on your project. Just check in the (Audio Source) component the sound which you want to playing is added perfectly either this is FPS Controller footsteps sound. Check in the Audio Source component the Volume is set to 1 not to 0. Check any mistake of adding the sound in the Audio Source. Any Mute button is disabled in the Game window box.

8 Answers

8

It means that you have two audio listeners, probably one on each camera. You can only have one audio listener active at any one time. Either you have to enable/disable them as you switch between the cameras or remove one of them.

You can find both audio listeners by typing in AudioListener in the search field above the heirarchy tree view.

thanx alot. ir solved my issue as well. can you please tell me how to add audiolistener at runtime on camera

Just what i was looking for, thanks for the info.

Thanks for the help :)

Waow thanks

It works for me. Thanks...

Click the “Main Camera” from “Hierarchy” panel and remove tick from “Audio listener” component from “Inspector” panel.

This worked for me, thanks!

Thank you sooo much... you are genius :D

thanks a lot :)

Delete the camera, the first person controller already has one on it :wink:

Yeah I typed that code in to cut out some of the other misc stuff, it is OnGUI(), it does work I had it as text before I changed it to an image. It now just comes up as a blank little box. Its just how does on add an images as a texture, I know I can do the button part, its loading that as a texture so I can use it which I'm having issues with

I have also a question about this: I have a splitscreen game with 2 cams; 1 for each player. Now the surroundings of the 2 players have to be mixed into the output, so there must be 2 audiolisteners at both of the cams. How can this be done?

Create a new question instead of asking a question in an answer.

Nothing happen how many (Audio Listener) is added in your scene. This is nothing affect on your project. Just check in the (Audio Source) component the sound which you want to playing is added perfectly either this is FPS Controller footsteps sound. Check in the Audio Source component the Volume is set to 1 not to 0. Check any mistake of adding the sound in the Audio Source. Any Mute button is disabled in the Game window box.

Thanks Alot man

Unchecked One Of Them

You have multiple cameras on the scene. Each camera has an audio listener component, so you can remove or disable them except for the main camera’s audio listener (actually you only need one audio listener)