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.

Wwise 2018.1.1 / Unity / Xbox One - APU heap could not be allocated

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

 

asked Sep 4, 2018 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()
answered Sep 27, 2018 by Justin R. (290 points)
edited Sep 27, 2018 by Justin R.
...