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.

+2 votes

I just updated to Wwise 2018.1.1 and now Wwise fails to initialize sometimes. It seems to fail about half the time. Any ideas? Here's the console output:

 

Wwise: APU heap could not be allocated.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkLogger:WwiseInternalLogError(String) (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkLogger.cs:52)
AkSoundEnginePINVOKE:CSharp_Init(IntPtr)
AkSoundEngine:Init(AkInitializationSettings) (at [project dir]\Assets\Wwise\Deployment\API\Generated\XBoxOne\AkSoundEngine_XBoxOne.cs:1445)
AkWwiseInitializationSettings:InitializeSoundEngine() (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:280)
AkSoundEngineController:Init(AkInitializer) (at [project dir]\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at [project dir]\Assets\W
se\Deployment\Components\AkInitializer.cs:51)
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)

 
(Filename: [project dir]/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs Line: 52)
Wwise: Cannot create streaming I/O device.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkLogger:WwiseInternalLogError(String) (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkLogger.cs:52)
AkSoundEnginePINVOKE:CSharp_Init(IntPtr)
AkSoundEngine:Init(AkInitializationSettings) (at [project dir]\Assets\Wwise\Deployment\API\Generated\XBoxOne\AkSoundEngine_XBoxOne.cs:1445)
AkWwiseInitializationSettings:InitializeSoundEngine() (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:280)
AkSoundEngineController:Init(AkInitializer) (at [project dir]\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at [project dir]\Asset
Wwise\Deployment\Components\AkInitializer.cs:51)
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)

 
(Filename: [project dir]/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs Line: 52)
WwiseUnity: Failed to initialize the sound engine. Abort.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkWwiseInitializationSettings:InitializeSoundEngine() (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:282)
AkSoundEngineController:Init(AkInitializer) (at [project dir]\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at [project dir]\Assets\Wwise\Deployment\Components\AkInitializer.cs:51)
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)


Wwise: Term() called before successful initialization.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkLogger:WwiseInternalLogError(String) (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkLogger.cs:52)
AkSoundEnginePINVOKE:CSharp_Term()
AkSoundEngine:Term() (at [project dir]\Assets\Wwise\Deployment\API\Generated\XBoxOne\AkSoundEngine_XBoxOne.cs:1451)
AkWwiseInitializationSettings:InitializeSoundEngine() (at [project dir]\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:283)
AkSoundEngineController:Init(AkInitializer) (at [project dir]\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at [project dir]\Assets\Wwise\Deployment
omponents\AkInitializer.cs:51)
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)

 

in General Discussion by Justin R. (290 points)
Also getting this error:

Wwise: Cannot initialize sound engine.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
AkLogger:WwiseInternalLogError(String) (at C:\Users\Justin\Documents\Wwise Xbox test\Assets\Wwise\Deployment\API\Handwritten\Common\AkLogger.cs:52)
AkSoundEnginePINVOKE:CSharp_Init(IntPtr)
AkSoundEngine:Init(AkInitializationSettings) (at C:\Users\Justin\Doc
ents\Wwise Xbox test\Assets\Wwise\Deployment\API\Generated\XBoxOne\AkSoundEngine_XBoxOne.cs:1445)
AkWwiseInitializationSettings:InitializeSoundEngine() (at C:\Users\Justin\Documents\Wwise Xbox test\Assets\Wwise\Deployment\API\Handwritten\Common\AkWwiseInitializationSettings.cs:280)
AkSoundEngineController:Init(AkInitializer) (at C:\Users\Justin\Documents\Wwise Xbox test\Assets\Wwise\Deployment\Components\AkSoundEngineController.cs:109)
AkInitializer:OnEnable() (at C:\Users\Justin\Documents\Wwise Xbox test
ssets\Wwise\Deployment\Components\AkInitializer.cs:51)
I have created an empty project containing Wwise only and this issue still occurs.
I'm experiencing the same issue on Xbox.

1 Answer

+2 votes
 
Best answer
Fixed by changing "XBoxOne" to "XboxOne" in AkBasePathGetter.GetPlatformName()
by Justin R. (290 points)
edited by Justin R.
...