menu
 

La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

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
dans General Discussion par Arnaud B. (310 points)

1 Réponse

+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

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