Audio listener messup!(and my game randomly switching scenes!)

in my game i have a box that when you touch it you advance to level 2, but i keep getting a message that says there are 2 audio listeners in the scene. please ensure there is always exactly one audio lister in the scene. I don't even know what an audio listener is! also would it have to do anything with when i play my game it randomly goes to my main menu and level 2? Please Help! :D

Audio listener is the component that acts as your virtual ears in the game world. Since Unity supports 3D sound, you need to have a way to let it know where your ears are in 3D space (so it will know how to play sounds relative to you). Since you can't have two pairs of ears - there should be no more and no less then one audio listener in the game world.

By default the AudioListener component is created on the main camera when you create a blank scene. When you load a new level you probably have a camera in that level - and that camera has another AudioListener component.

If you load a new level, and don't destroy the old one (by either using Application.LoadLevelAdditive() or marking some objects, and probably the camera, with DontDestoryOnLoad()) the two levels mix, and you suddenly have two cameras and two AudioListeners - hence the annoying message.

Without seeing the part of your code that handles level loading there's no way to know why you keep loading those levels randomly...