# WebGL Issue - No Audible Sound Occasionally

**URL:** https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350
**Category:** Unity
**Tags:** unity
**Created:** [March 11, 2024, 2:19pm UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350 "2024-03-11T14:19:03Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![brandonchan](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@brandonchan](https://qa.fmod.com/u/brandonchan)
#### Post date: [March 11, 2024, 2:19pm UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350/1 "2024-03-11T14:19:03Z")

</div>

Refer to the published project here: [https://brandev.itch.io/fmod-webgl-no-sound](https://brandev.itch.io/fmod-webgl-no-sound)

**Issue:**

When loading the “Go to next scene”, _sometimes_ the audio becomes inaudible. This seems to happen if you click within the game window or outside first. I haven’t found a consistent way to reproduce this though.

**Additional Details:**

1. This is using the code from the repository in: [GitHub - fmod/unity-html5-demo: Demonstration of the correct way to load banks for HTML5 within Unity using the FMOD For Unity integration.](http://github.com/fmod/unity-html5-demo/tree/2.02)
2. This published version uses “Unity 2020.3.16f1” and “FMOD 2.02.20” (same as the one mentioned in the Github repo).
3. I’ve also used “Unity 2021.3.26f1” and had the same issue I mentioned above.

Please reach out if you need any more details.

---

<div class="post-metadata">

### Author: ![brandonchan](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@brandonchan](https://qa.fmod.com/u/brandonchan)
#### Post date: [March 11, 2024, 2:19pm UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350/2 "2024-03-11T14:19:44Z")

</div>

Also find that the FMOD team’s version works without issue: [Unity WebGL Player | Unity HTML Demo (fmod.com)](https://fmod.com/assets/html5/js_unity/demo.html)

---

<div class="post-metadata">

### Author: ![brandonchan](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@brandonchan](https://qa.fmod.com/u/brandonchan)
#### Post date: [March 16, 2024, 4:11am UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350/3 "2024-03-16T04:11:54Z")

</div>

I found that this issue only happens in Google Chrome due to their new autoplay policy. ([Unity - Manual: Audio in WebGL (unity3d.com)](https://docs.unity3d.com/Manual/webgl-audio.html)) . This still doesn’t answer why the FMOD team’s version works consistently on Google Chrome but not my [itch.io](http://itch.io) version.

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [March 20, 2024, 11:45pm UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350/4 "2024-03-20T23:45:33Z")

</div>

Apologies for the delayed response.

After a discussion with the development team, it seems that the behaviour you’re describing is the result of a user interaction requirement from the browser - the Unity WebGL example on our website is using an older version of FMOD that handled it differently from our more recent versions.

I would recommend grabbing the Core System from RuntimeManager and calling [`System::mixerSuspend`](https://www.fmod.com/docs/2.03/api/core-api-system.html#system_mixersuspend) and [`System::mixerResume`](https://www.fmod.com/docs/2.03/api/core-api-system.html#system_mixerresume) together from an touch or click event handler and seeing whether that resolve the issue. If not, can I get you to set your logging level to “Log” and enable API error logging, and either:

- Post a log with the aforementioned settings enabled where you’re able to reproduce the issue
- Or update your [itch.io](http://itch.io) project with those settings enabled so I can test it myself

---

<div class="post-metadata">

### Author: ![brandonchan](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@brandonchan](https://qa.fmod.com/u/brandonchan)
#### Post date: [March 23, 2024, 10:58pm UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350/5 "2024-03-23T22:58:28Z")

</div>

I can confirm that the code in the [itch.io](http://itch.io) page I sent has “System:mixerSuspend” and “System::mixerResume”. I’m using the same code as the “fmod/uity-html5-demo” github repo. The implementation of the suspend/resume can be found here: [unity-html5-demo/Assets/HTML Demo/LoadBankAndScene.cs at 2.02 · fmod/unity-html5-demo (github.com)](https://github.com/fmod/unity-html5-demo/blob/2.02/Assets/HTML%20Demo/LoadBankAndScene.cs)

Here is the pastebin of the log you requested. Please note, the errors in this log appear whether or not the “No Audible Sound” error occurs.[pastebin.com/raw/pYSB6QBq](https://pastebin.com/raw/pYSB6QBq)

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [March 26, 2024, 5:28am UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350/6 "2024-03-26T05:28:30Z")

</div>

Thanks for checking that for me.

Unfortunately, at present I don’t have any workarounds to offer, but I’ve passed this along to the development team for further investigation.

---

<div class="post-metadata">

### Author: ![tony020409](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@tony020409](https://qa.fmod.com/u/tony020409)
#### Post date: [September 15, 2025, 8:48am UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350/7 "2025-09-15T08:48:30Z")

</div>

Has a solution been found for this issue yet?

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [September 23, 2025, 5:17am UTC](https://qa.fmod.com/t/webgl-issue-no-audible-sound-occasionally/21350/8 "2025-09-23T05:17:09Z")

</div>

> [@tony020409](#):
>
> Has a solution been found for this issue yet?

Unfortunately, I don’t have any new information to offer you on this issue. One of my colleagues is has responded to the thread you posted, which I’ll link here for posterity: [Unity WebGL minimization causes sound to disappear](https://qa.fmod.com/t/unity-webgl-minimization-causes-sound-to-disappear/23369)
