menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持

Currently using Unity 2019.4.8f1, Wwise 2019.2.5 and 2019.2.8

Tried in Wwise Adventure Game for 2019.2.5, 2019.2.8 and other projects, the error will occur after enabling Decode Compressed Data function.

After checking the codes, it turned out that AkWwiseInitializationSettings.InitializeSoundEngine() cannot be called, so that AkBasePathGetter.DecodedBankFullPath can't be assigned

so that when running DecodableBankHandle, error will occur when it comes to line 246: decodedBankPath = System.IO.Path.Combine(decodedBankFullPath, language);

 

Any idea about how to solve this problem, or is there other ways to decode vorbis while loading and save the decoded bank? Thanks!

 

 

Detailed error is as below:

ArgumentNullException: Value cannot be null.
Parameter name: path1
System.IO.Path.Combine (System.String path1, System.String path2) (at <fb001e01371b4adca20013e0ac763896>:0)
AkBankManager+DecodableBankHandle..ctor (System.String name, System.Boolean save) (at Assets/Wwise/Deployment/API/Handwritten/Common/AkBankManager.cs:246)
AkBankManager.LoadBank (System.String name, System.Boolean decodeBank, System.Boolean saveDecodedBank) (at Assets/Wwise/Deployment/API/Handwritten/Common/AkBankManager.cs:96)
AK.Wwise.Bank.Load (System.Boolean decodeBank, System.Boolean saveDecodedBank) (at Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBank.cs:22)
AkBank.HandleEvent (UnityEngine.GameObject in_gameObject) (at Assets/Wwise/Deployment/Components/AkBank.cs:69)
AkTriggerHandler.Start () (at Assets/Wwise/Deployment/Components/AkTriggerHandler.cs:44)
AkBank.Start () (at Assets/Wwise/Deployment/Components/AkBank.cs:58)

 

BigWatermelonPi (240 ポイント) General Discussion
BigWatermelonPi タグ変更

回答 1

0 支持
Hey BigWatermelonPi.

Thanks for reporting this. I added a quick reply here > https://www.audiokinetic.com/qa/8028/strange-error-when-using-decode-compressed-function-unity
Mads Maretty S. (Audiokinetic) (40.2k ポイント)
Thank you! I'll follow that post
...