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.

+1 vote
I am receiving this error messages after deploying an Xbox One Push Build;

Build crashes as soon as it starts to initialize Wwise plugin.

Wwise: APU heap has already been allocated.
Stacktrace is not supported on this platform.
(Filename: C:\buildslave\unity\build\artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Wwise: Cannot initialize sound engine.
Stacktrace is not supported on this platform.
(Filename: C:\buildslave\unity\build\artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
WwiseUnity: Failed to initialize the sound engine. Abort.
Stacktrace is not supported on this platform.

Wwise: Term() called before successful initialization.
Stacktrace is not supported on this platform.
(Filename: C:\buildslave\unity\build\artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
in General Discussion by Steffano C. (140 points)
We're also getting the exact same issue. Wwise works fine on other platforms, only Xbox is having this problem.

Unity 2018.2.17f1
Wwise 2018.1.3.6784

Wwise: APU heap has already been allocated.
AkSoundEnginePINVOKE:CSharp_Init(IntPtr)
AkSoundEngine:Init(AkInitializationSettings)
AkWwiseInitializationSettings:InitializeSoundEngine()
AkSoundEngineController:Init(AkInitializer)
AkInitializer:OnEnable()

Wwise: Cannot initialize sound engine.
AkSoundEnginePINVOKE:CSharp_Init(IntPtr)
AkSoundEngine:Init(AkInitializationSettings)
AkWwiseInitializationSettings:InitializeSoundEngine()
AkSoundEngineController:Init(AkInitializer)
AkInitializer:OnEnable()

WwiseUnity: Failed to initialize the sound engine. Abort.
UnityEngine.Debug:LogError(Object)
AkWwiseInitializationSettings:InitializeSoundEngine()
AkSoundEngineController:Init(AkInitializer)
AkInitializer:OnEnable()

Wwise: Term() called before successful initialization.
AkSoundEnginePINVOKE:CSharp_Term()
AkSoundEngine:Term()
AkWwiseInitializationSettings:InitializeSoundEngine()
AkSoundEngineController:Init(AkInitializer)
AkInitializer:OnEnable()

1 Answer

+4 votes
 
Best answer
So, not sure if it will help someone in the future or not, but for us it was Unity's default sound engine that was not disabled in the project settings / audio section (you have to check the 'disable' check box)

Cheers
by michel s. (520 points)
selected by Mathieu J. (Audiokinetic)
Thank you, that was an useful information for us.
...