# No sound after exported to unity Webgl platform

**URL:** <https://qa.fmod.com/t/no-sound-after-exported-to-unity-webgl-platform/18019>\
**Category:** Unity\
**Created:** [November 27, 2021, 10:44pm UTC](https://qa.fmod.com/t/no-sound-after-exported-to-unity-webgl-platform/18019 "2021-11-27T22:44:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![awu.li](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@awu.li](https://qa.fmod.com/u/awu.li)\
**Post date:** [November 27, 2021, 10:44pm UTC](https://qa.fmod.com/t/no-sound-after-exported-to-unity-webgl-platform/18019/1 "2021-11-27T22:44:04Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [November 30, 2021, 5:08am UTC](https://qa.fmod.com/t/no-sound-after-exported-to-unity-webgl-platform/18019/2 "2021-11-30T05:08:04Z")

</div>

How are you loading your banks? Using a studio bank loader, via the FMOD Settings? There is a requirement to [load banks asynchronously](https://fmod.com/resources/documentation-unity?version=2.02&page=platform-specifics.html#async-loading) in WebGL so that would be worth trying if you haven’t already.  
You may also need to [call `System::mixerSuspend` and `System::mixerResume`](https://fmod.com/resources/documentation-api?version=2.02&page=platforms-html5.html#safari-and-chrome-browser-user-interaction-requirement-use-for-all-browsers) if you are using Chrome or Safari.
