Search Unity

Audio Still Hear Sound even with all Audio Listeners DESTROYED

Discussion in 'Audio & Video' started by Peteroid69, Dec 4, 2018.

  1. Peteroid69

    Peteroid69

    Joined:
    Nov 11, 2018
    Posts:
    36
    i did an experiment... first i run my scene and see the only camera has the only Audio Listener... which it also has at edit time... so in code i destroy its Audio Listener.. which i can see is now gone by looking at Camera in Hierarchy during run time... so why do i still hear the game sounds?... where is the Audio Listener? :)
     
  2. Peteroid69

    Peteroid69

    Joined:
    Nov 11, 2018
    Posts:
    36
    I have posted a few questions... and they almost never get answered... a brief look reveals that most questions here never get answered (the reply column shows mostly zeros).. is there an on-line forum where the activity is such that i can expect answers quickly?
     
  3. Docaroo

    Docaroo

    Joined:
    Nov 7, 2017
    Posts:
    82
    Perhaps an Audio Listener is default added to the Main Camera again by default when you delete it?

    Second question is ... why are you wanting to delete the audio listener? If it is to mute sounds then that should not be done this way!