Search Issue Tracker
Fixed in 2022.3.31f1
Fixed in 2022.3.X, 6000.0.X, 6000.0.1f1, future release
Votes
4
Found in
2022.3.10f1
2023.1.14f1
2023.2.0b10
2023.3.0a6
6000.0.0b11
Issue ID
UUM-49655
Regression
No
WebGL returns error messages when playing many sounds simultaneously
How to reproduce:
1. Open the user-attached project “webgl-sounds-test”
2. Build And Run the project on the WebGL platform
3. In the browser, click the “Play x1000” button
4. Observe the Console
Expected result: There are no errors logged into the Console
Actual result: There are a lot of “FMOD returns error code 36 (FMOD_ERR_INVALID_HANDLE) executing setRelativeAudibility” errors in the Console
Reproducible with: 2022.3.10f1, 2023.1.0a17, 2023.1.14f1, 2023.2.0b10, 2023.3.0a6
Not reproducible: 2021.3.30f1, 2023.1.0a16
Reproducible on: Windows 11 Pro
Full error:
FMOD returns error code 36 (FMOD_ERR_INVALID_HANDLE) executing setRelativeAudibility
./Modules/Audio/Public/AudioSource.cpp(1580) : Error executing dspHead->setRelativeAudibility(relativeAudibility) (An invalid object handle was used. )
Comments (1)
-
oferon
Sep 24, 2023 04:02
This bug is really annoying, and it is over a year, not sure why Unity team ignores it
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerPropertiesChanged event fires before Player Properties are applied
- Opening Media Pop-out in “Before You Start” Tutorial throws “Styles” and “Styles_Dark” messages in the Console window
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
Resolution Note (fix version 6000.0):
This error log is caused by reaching the fixed memory limitations of the WebGL audio engine, apparently not by a code flaw. Memory pools were rebalanced to better fit the audio authoring inner workings, and superfluous log prints were removed.