If the user changes language setting... I need to change the VO sound bank. Unload the current one and load a new one.. but Wwise seems to ignore my load.
I mave main bank and VO bank. I first unload the VO bank using AkBank.Unload(), then change the language setting, then call HandleEvent() on AkBank script to force re-load of the new language bank
but it continues to play sounds from the old language bank.
So how do you remove and reload a new bank at run time ?
I also tried calling initialize again on AkBankManager... but it does not let you if there is existing instance, and it also warns not to destroy the instance if its already initialized... so how to swap a bank at runtime please ?
..update...
added some prints... looks like UnloadBank is not unloading the bank, as when I try to reload it... it says its already loaded. I am using the correct name to unload it. soo... how to unload it ?
..update 2...
It gets into the AkBankManager.UnloadBank() function... then it calls Mutex.WaitOne() which blocks the thread.. then it never seems to come back to print any prints after that (or to actually unload the Bank.
So... what to do now ?...
help appreciated. Cheers