Search Unity

Bug 60FPS -> 5FPS when all mixer groups of the main mixer are disabled

Discussion in 'Audio & Video' started by e_Zinc, Oct 20, 2021.

  1. e_Zinc

    e_Zinc

    Joined:
    Oct 31, 2019
    Posts:
    19
    When all mixer groups of the master mixer are inactive due to the dB threshold, we experience huge dips because of AudioManager.Update. We are on 2020.2.5f1.

    2 temporary fixes are to play something with 0 volume on a mixer so it doesn't suspend, or to disable the automatic suspension.

    We do have a lot of audio sources in the map. Maybe that could have something to do with it, because it's looping over all of them when suspended? Doubt it, because the lag disappears even when one mixer is active.

    Any ideas?
     

    Attached Files:

  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    Hi,
    Can you file a bug report with your project? (Or a subset, or a smaller project that exhibits the same issue)