Search Issue Tracker
Fixed
Fixed in 2020.3.43f1, 2021.3.17f1, 2022.2.3f1, 2023.1.0a24
Votes
0
Found in
2020.3.41f1
2021.3.11f1
2022.1.20f1
2022.2.0b12
2023.1.0a15
Issue ID
UUM-17803
Regression
No
[WebGL] InvalidStateError: Failed to execute 'resume' on 'AudioContext': Cannot resume a closed AudioContext
AudioContext.resume() error is not missing catch.
See:
https://forum.unity.com/threads/invalidstateerror-failed-to-execute-resume-on-audiocontext-cannot-resume-a-closed-audiocontext.1339664/
Steps to recreate:
1. Open "AudioContextClosedBug" project.
2. Switch project to "WebGL platform"
3. "Build and Run" project
4. Click on "Recreate AudioContext" and wait for 5 seconds.
5. Click on "Play Sound".
Expected behavior: A white noise can be heard.
Actual behavior: An error message is shown: "Failed to execute 'resume' on 'AudioContext': Cannot resume a
closed AudioContext.
at_userEventCallback(http://localhost:9609/Build/
build.framework.js:7023:47)" and no audio can be played.
Note: It is important to click "Recreate AudioContext" first and then wait before clicking "Play Sound".
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
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
Resolution Note (fix version 2022.2.3f1):
Verified the fix has landed to 2022.2.4f1 with Ubuntu 20.04 and Chrome.