Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

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
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

by Bernard R. (Audiokinetic) (35.8k points)
...