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.

0 votes
wwise版本号:2021.1.10

unity版本号:2020.3.37

在MonoBehaviour中的OnDisable中添加回调最终指引到AkBankManager.LoadBank方法,在停止播放Unity游戏的时候,Unity会崩溃。

错误日志:

Stacktrace:

  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
in General Discussion by H J. (100 points)

Please sign-in or register to answer this question.

...