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.