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)