Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Serious Bug: Sounds played in Reverb Zones someties don't play (Case 744893)

Discussion in 'Audio & Video' started by lasercannon, Nov 21, 2015.

  1. lasercannon

    lasercannon

    Joined:
    Nov 29, 2012
    Posts:
    80
    Hey everyone,

    We've run into a pretty serious bug that is forcing us to take out all of our reverb zones.

    About 1-2% of the time when playing an AudioClip from an AudioSource in a Reverb Zone, only the reverb plays and not the dry sound. This is very significant for us since we are playing a lot of voice over clips that need to be heard to understand the story.

    A couple of things to note:
    -We are using Resources.Load to load the affected sounds (well beforehand)
    -We are assigning the "clip" field of an existing AudioSource before playing the sound with AudioSource.Play().
    -"Spatial Blend" on the AudioSource is set to 0.25 and "Reverb Zone Mix" is set to 1
    -Different sounds are affected each time, and generally the AudioSource and Audio Listener are in the same place (though both move a little bit between each VO line)

    I reported a bug (744893) last week. I'm really hoping to get some help with a workaround or a response from Unity about a possible fix. I've noticed some old threads mentioning very similar issues, but none had any helpful replies.

    This issue has come up at the 11th hour and we need to submit soon, so any help would be greatly appreciated. We really don't want to take out our reverb zones.

    I'm on Unity 5.2.1p3.

    Thanks!
     
  2. Polkatuba

    Polkatuba

    Joined:
    Oct 31, 2014
    Posts:
    79
    Greetings,

    I suspect you are talking about the same issue I reported earlier:
    http://forum.unity3d.com/threads/having-serious-issues-with-unity-audio.327291/

    Except for me, the issue is really bad. Not 1-2% of the time as you are getting, but nearly all the time making unity audio unusable for me.

    Fortunately I was able to find a dirty workaround. I made a script that searches all audio sources in the scene and then turn them off and back on. This has to be done in the Start() section. Since then I have not had any issues anymore. I hope this issue will be looked after, as more and more reports are starting to come.
     
    lasercannon likes this.
  3. lasercannon

    lasercannon

    Joined:
    Nov 29, 2012
    Posts:
    80
    Interesting! Perhaps we will give this a try for our patch. But yeah, I really hope this gets fixed.
     
  4. mrwogs

    mrwogs

    Joined:
    Aug 20, 2014
    Posts:
    36
    Bumping this as well, we are running into this in our project in Unity 5.3.4f1.

    Just like the other users are experiencing with reverb zones, multiple sound sources, at random, will only play the reverb effect but not the actual sound source itself. Restarting Unity temporarily solves the problem but it can (and will) immediately crop back up.

    This happens in the editor, and in stand-alone builds frequently.
     
    Last edited: May 28, 2016
  5. ReaktorDave

    ReaktorDave

    Joined:
    May 8, 2014
    Posts:
    133
    We have the same problem with Unity 5.3.5 when switching scenes. After we changed the unloading scenes to loading all scenes but only activating those scenes we need audiosources worked more reliably. The best workaround is from Polkatuba: deactivate and activate everything in Start().

    I am also able to reproduce this with Unity 5.4 b22.