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.

Wwise blocked in Unity build

0 votes
So I have this project using Wwise, everything works perfectly well in Unity editor but not in build.

In game i'm supposed to have a music playing but I got nothing. In the profiler, my command queue size won't stop increasing until reaching 100%, throwing an "Audio command queue is full, blocking caller." error, realeasing a big amount of SetPosition API call and NOW strating to play music.

After that my audio command queue is around  50% of max size, it will then go again to 100% to realease some SetPosition API Call again and again...

The calls to SetPosition are not a problem since I got a camera moving, their are expected. In fact if I disable the camera movement my audio command queue size will never break the 100% size, and I will never have any kind of music during my build.

From my understanding, Wwise seems blocked/deadlocked because of something and the only way to unlock it is to break the audio command queue size limit to force things to happen. What can possibly cause this block/deadlock Wwise this way ? How can I have Wwise working in my build ? (As I said, everything works fine in the editor).

I'm using Unity 2020.3.4f but the problem also occures in unity 2020.1.16f, the latest version handled by Wwise this time speaking.

Kind regards.
asked Apr 21, 2021 in General Discussion by Nicolas K. (240 points)

Please sign-in or register to answer this question.

...