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.

When unity closes the game, calling AkBankManager.LoadBank will flash back

0 votes
Add a method to call AkBankManager.LoadBank in OnDisable. When the game is closed, unity will crash

Wwise version number: 2021.1.10

Unity version number: 2020.3.37

Error log:


at <unknown> <0xffffffff>

at (wrapper managed-to-native) AkSoundEnginePINVOKE.CSharp_ SetBasePath (string) [0x00013] in <44986a5a8d3c47a1a2614ab27c804034>:0

at AkSoundEngine.SetBasePath (string) [0x00000] in D:\game\Assets\Wwise\API\Runtime\Generated\Windows\AkSoundEngine_ Windows.cs:951

at AkBankManager/DecodableBankHandle.DoLoadBank () [0x0003f] in D:\game\Assets\Wwise\API\Runtime\Handwritten\Common\AkBankManager.cs:286

at AkBankManager/BankHandle.LoadBank () [0x0001d] in D:\game\Assets\Wwise\API\Runtime\Handwritten\Common\AkBankManager.cs:158

at AkBankManager.LoadBank (string,bool,bool) [0x00054] in D:\game\Assets\Wwise\API\Runtime\Handwritten\Common\AkBankManager.cs:98
asked Mar 1 in General Discussion by H J. (100 points)

Please sign-in or register to answer this question.