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.

Voice Starvation error in unity. What does it mean?

0 votes
Hello!
 
I'm getting an error everytime I trigger Wwise audio in Unity. The game doesn't crash, but it gets very laggy and the sound starts to saturate.
 
Here's the error:
 
Wwise: Voice Starvation
UnityEngine.Debug:LogError(Object)
AkInitializer:CopyMonitoringInConsole(ErrorCode, ErrorLevel, UInt32, IntPtr, String) (at Assets/Wwise/Deployment/Components/AkInitializer.cs:217)
AkCallbackManager:PostCallbacks() (at Assets/Wwise/Deployment/API/Handwritten/AkCallbackManager.cs:270)
AkInitializer:LateUpdate() (at Assets/Wwise/Deployment/Components/AkInitializer.cs:191)
 
What does it mean?
 
Thanks for the help!
 
Arnaud
asked Jul 4, 2014 in General Discussion by Arnaud B. (310 points)

1 Answer

+1 vote

From our knowledge base:

Voice starvation means that the sound engine was not able to fill the hardware voice fast enough usually due to too much processing to be done (in which case the audio thread CPU is often near 100%) or because the audio rendering thread was not scheduled for a sufficient time slice due to other higher priority threads.

Understanding the difference between the 2 when one of them is flagged in the profiler will give you a better understanding of the situation

answered Jul 15, 2014 by Bernard R. (Audiokinetic) (35,110 points)
...