Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

"Audio thread suspended" keeps pausing Unity (even when Error Pause is not active)

0 votes

Hi! I am in Unity right now and I have this annoying problem that every once in a while the game pauses and this message appears in the console. When I unpause the game it only runs for a couple of frames before pausing again. It's impossible to playtest like this. Any idea why this is happening and how could I fix it? I'm quite new to the implementation side of Wwise, so maybe there's something basic here that I don't quite understand just yet. Many thanks in advance.

BTW, here's a screenshot

asked Jun 18, 2021 in General Discussion by Gabriel G. (160 points)
edited Jun 18, 2021 by Gabriel G.

1 Answer

–1 vote

Hey Gabriel, 

Do you by any chance have "Error Pause" enabled in the Console

By the way, you may also find the the Unity Answers page helpful for any other Unity specific issues. 

answered Jun 18, 2021 by Mads Maretty S. (Audiokinetic) (39,400 points)
Hi. Thanks for the reply. That's what I meant in the title when I wrote that "Error Pause is not active".
Ah yes sorry about that!
How about any breakpoints in your scripts (red markers in left side)? Do you use any functionality to pause from script, like EditorApplication.isPaused = true or Debug.Break()?

Thanks for the screenshot. Unfortunately, the "Audio thread suspended" just follows the game mode being paused, so it probably won't be useful to see what paused the game.
...