Getting this error on WebGL Unity 2022. Any idea what this is about Audio seems to work fine.
Is it the same than this one ?
Yes that looks like the same issue.
same did u find a fix?
same error on WebGL Unity 2022
This looks like an error that was already fixed (Unity Issue Tracker - "FMOD returns error code 36 (FMOD_ERR_INVALID_HANDLE) executing setRelativeAudibility" thrown when audio is played after the Scene reload or an AudioSource is destroyed)
If you"re still experiencing the problem, it might because you stumbled on a different way to trigger the log. Please submit a bug report with a minimal scene reproducing the issue (link in my signature).
Thanks!
Yeh im getting this in my webgl game, what version of unity fixes this or is there any workaround? i dont want to upgrade if possible.
Getting this error in 2023.1.08b and 2023.2.3f1
Appears after running for 10-15 minutes.
No scene reload, all audio loaded once and never released.
I had started working on this, but it’s currently on the backburner. This appears to be related to the number of dsp instances in the WebGL implementation, which has a hard limit. Increasing the amount of memory for this is not really a cute solution, and preventing the error with a nullptr check would not actually fix the issue. This requires a deeper investigation on a platform which is quite hard to debug
In the meantime, I’d recommend you have a closer look at your audio sources management. If you’re able to implement pools or some sort of AudioSource recycling, you might be able to mitigate that issue.