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
- Broken hyperlink formatting in HDRP 3D Sample Tutorials
- Missing spaces in High Definition 3D Samples Template Tutorials
- Win64 CPU is set to None when applying changes to plugin where the meta has the serializedVersion 2
- Sprite Atlas textures from all included build scenes persist in Editor memory when building the Player
- Disabling all columns in Light Explorer throws “ArgumentException” error in the Console window
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.