Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

xcode cannot load soundbank when building for iOS from unity

0 votes

I am not sure what to do, I have copied the soundbanks from (WWISE_PROJECT)>GeneratedSoundBanks>iOS to the streaming assets in Audio>GeneratedSoundBanks folder but it won't load. Where am I going wrong? I have also put the soundbanks in the '/var/containers/Bundle/Application/3E5B3CDC-FD54-476F-843F-598FB38691DF/dbs.app/Data/Raw/Audio/GeneratedSoundBanks/iOS/' but I am still getting the same error.

This is the error I am getting:

AK Info: Number of detected and configured output channels: 2
AK Info: Using output port: Speaker of type Speaker with 2 output channel(s)
WwiseUnity: Looking for SoundBanks in /var/containers/Bundle/Application/3E5B3CDC-FD54-476F-843F-598FB38691DF/dbs.app/Data/Raw/Audio/GeneratedSoundBanks/iOS/
AkBasePathGetter:GetSoundbankBasePath()
AkInitializer:Initialize()
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

WwiseUnity: Could not locate the SoundBanks. Did you make sure to copy them to the StreamingAssets folder?
AkBasePathGetter:GetSoundbankBasePath()
AkInitializer:Initialize()
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

AK Error: Cannot open file: SoundApp.bnk
AK Error: Bank Load Failed
WwiseUnity: Bank SoundApp failed to load (AK_Fail)
BankHandle:LogLoadResult(AKRESULT)
BankHandle:LoadBank()
AkBankManager:LoadBank(String, Boolean, Boolean)
AkBank:Start()
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

AK Error: Event ID not found: 3126765036
Could not post event ID "-1168202260". Did you make sure to load the appropriate SoundBank?
AkEvent:HandleEvent(GameObject)

If anyone could help it would be amazing

asked Oct 29, 2017 in General Discussion by Lillie S. (100 points)

Please sign-in or register to answer this question.

...