A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Separate names with a comma.
Discussion in 'Audio & Video' started by fwalker, Feb 27, 2023.
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 (https://issuetracker.unity3d.com/is...e-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).
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.