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
- The Editor does not recognize code errors in generic classes when using C# Source Generator to generate serialization code
- Long Sprite names are not truncated in the Inspector window name label and the preview labels when a Sprite with a long name is selected
- NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression
- “Unsupported type MinMaxCurve” error and “Could not register property modification for animation binding…” warnings are thrown after moving playhead when Particle System Property is added to Animation window
- Nested LocalizedStrings can not query local variables
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.