I am very new to Unity and I have been playing a bit with features.
I have one specific problem that is the following:
I have applied audio sources to 2 different assets and I have an audio listener placed on the main camera.
Normally, if I disabled the audio listener, I should not be hearing the audio sources even though it is still present.
However, I still do hear these sources no matter what I do with the audio listener. I have tried to disable it, to remove it, nothing changes.
Does anyone has an idea why Unity is acting like this?
Although I am asking myself: what is 2019.1 when there is only 2018.3.4 for download right now??
I use 2018.3.3f1 atm and I still have this bug
Wtf, I dont get it. I can even open Unity 5.0.2p4, add an Audio Source that is 600 units away from the main camera and I still hear the sound for 100%.
I am using 219.2.16f1 . I can enable or disable audio listener on the main camera via a script. on unity the script is working perfectly. but on android phone its not working.
Same bug reproduced in 2019.4 version. Sounds played without listener on Ios an android platform, but in editor all ok. You can disable sounds by using AudioListener.volume = 0.0f.
Same here it happens in 2020.3.8, disabling listener on main camera works as intended in editor but when deployed to webgl I can suddenly hear everything clearly even without listener on the scene.
Does it happen on latest Unity version? Or Latest LTS at least? Also, if you can provide a repro project, report a bug! It seems like this is something that keeps reappearing
This seems to be less of a bug and more of a default behavior by unity. I’m in the same situation where having no audio listener in the scene will simply listen for every sound instead of a more intuitive default of hearing no sounds until there is a listener. This is just for a few seconds while the players load in a multiplayer match, but it is quite annoying. The workaround is quite nasty with having to update all the sounds or deal with some temporary listener that shouldn’t need to be needed.