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.

unity3D中使用AKBank中的Save Decoded bank这个属性的时候报错

0 votes
unity3D版本:2019.4.22f

wwise版本:2021.1.2

在做课程301的时候(https://www.audiokinetic.com/zh/courses/wwise301/?source=wwise301&id=Saving_a_Decoded_SoundBank#read)发现读取保存的bank的时候找不到路径(ArgumentNullException: Value cannot be null.
Parameter name: path1)查看代码的时候发现,需要在AkWwiseInitializationSettings里调用InitializeSoundEngine的时候才会调用到AkBasePathGetter.EvaluateGamePaths这个方法来初始化DecodedBankFullPath的路径。但是在启动的时候因为返回的AkSoundEngine.IsInitialized()为true,所以不会走InitializeSoundEngine。导致启动的时候出错,这个问题将怎么避免,现在我们使用不了Save decoded bank这个功能了。
asked Jul 18, 2021 in General Discussion by 轶群 (100 points)

Please sign-in or register to answer this question.

...