Hi, I am exporting my game to the unity webgl platform, I am using FMOD as my audiosource, after export, there are no sound in the game. and console shows
“Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs(952,21): warning CS0162: Unreachable code detected”
Which related to these code of the RuntimeManager script
" #endif // (UNITY_ANDROID || UNITY_WEBGL) && !UNITY_EDITOR
{
LoadedBank loadedBank = new LoadedBank();
FMOD.RESULT loadResult = Instance.studioSystem.loadBankFile(bankPath, FMOD.Studio.LOAD_BANK_FLAGS.NORMAL, out loadedBank.Bank);
Instance.loadedBankRegister(loadedBank, bankPath, bankName, loadSamples, loadResult);
}
"
Anyone able to tell me how to fix this issue?
Thanks a lot!