Can you drag and drop an AudioListener into a List or Behaviour (array) ? Before updating my unity version to 5.3, it worked well..!
Made a quick workaround (I'm taking you used the Brackeys tutorials?
Just use this script and drag the whole Camera GameObject into the ListenerToDisable array and then add the camera and other behaviours into the other array
public class PlayerSetup : NetworkBehaviour
// Disable components that should only be
// active on the player that we control
for (int i = 0; i < componentsToDisable.Length; i++)
componentsToDisable[i].enabled = false;
for (int i = 0; i < listenerToDisable.Length; i++)
listenerToDisable[i].enabled = false;
// We are the local player: Disable the scene camera
sceneCamera = Camera.main;
if (sceneCamera != null)
// When we are destroyed
// Re-enable the scene camera
if (sceneCamera != null)
Answer by exowatt
Dec 15, 2015 at 10:33 AM
No i don't use the Brackeys's tutorial. But i found a solution alone : Right Click on "Inspector" tab and enter in Debug Mode, you could drag and drop after that.
Thank you very much, it helped me very :-)
HI exowatt, can you please explain the process of it. I mean why we can only drag it when we set debug mode??
Detailed explanation is appreciated.
This didn't work for me. I cannot drag the audio listener from one inspector to another, regardless of the normal/debug mode of either panel. Any other suggestions?
Answer by WOODSY
Dec 15, 2015 at 08:41 AM
I can't either, probably because there is no way to disable it with a boolean
You have to set debug mode of the inspector panel from which you are dragging the component, not of the inspector panel in which you are assigning it.
Try as mentioned and if it still didn't work then please try to explain it in brief.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
8 People are following this question.
Is it possible to change Audio Manager Volume by script?
Set volume problems
Pan all input sound?
How can I disable Audio Listener? I've tried it all...