Unity FMOD in WebGL, when losing focus, the sound becomes very strange, But using Unity AudioSource does not have this issue.
I know that I can call FMODUnity.RuntimeManager.CoreSystem.mixerSuspend() in the OnApplicationFocus method of MonoBehaviour to stop these strange sounds. However, in some embedded WebGL environments within apps, it does not always work. For example, in TikTok. Sometimes, after switching back to the app from the background, the sound becomes weird again. The issue is that this problem does not occur with Unity’s default AudioSource, so it seems not to be related to the hardware, WebGL, or the Unity engine. It’s more like an issue with how FMOD itself handles sounds in WebGL.
My FMod is 2.02.22, Unity version is 2022.3.21f1. Is there any solution?