how to keep 1 audio listener

i am making a fps game and i have tons of different sound and noises and it says i have four audio listeners in the Please ensure there is always exactly one audio listener in the scene. how do i have one audio listers and still have different audio in the background

1 Answer

1

Only one AudioListener (not to be confused with AudioSource) should be enabled in the scene. The are by default attached to a camera. So make sure only one camera in your scene has an AudioListener attached. You can remove this component in the Inspector or disable it per script:

AudioListener.enabled = false;

thanks it worked