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.

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)

1 Answer

0 votes
I encountered the same problem as you, using Wwise version 2019.2.15.7667, and I didn't solve it either.
answered Aug 22, 2023 by 起薛 (140 points)
...