Search Issue Tracker
Fixed
Fixed in 2021.3.12f1, 2022.1.20f1, 2022.2.0b5, 2023.1.0a8
Votes
3
Found in
2021.3.5f1
2022.1.5f1
2022.2.0a17
2023.1.0a1
Issue ID
UUM-2302
Regression
Yes
WebGL build crashes when calling AudioSource.time
Reproduction steps:
1. Open the attached project
2. Build and Run the project using WebGL
3. Observe the error
Expected result: Music plays in the background, and buttons to skip the song forward and backward should be responsive
Actual result: An error occurs, background music plays inconsistently after pressing on the screen a few times
Reproducible with: 2021.2.0b1, 2021.2.19f1, 2021.3.3f1, 2022.1.2f1, 2022.2.0a15
Not reproducible with: 2019.4.39f1, 2020.3.35f1
Couldn't test with: 2021.2.0a1(Multiple package errors in editor), 2021.2.0a21 (Building and running would not host local server)
Reproducible on: macOS 12.2 (Intel)
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
- [Windows] UnityPluginLoad is not called when the Native plug-in is embedded
- Layout is not rendered when Prefab is opened in context mode after upgrading the project
- Crash on RaiseException when calling MethodInfo.Invoke in an obfuscated DLL
- Animator Parameter values reset and cannot be changed after setting a Curve on an AnimationClip
- ArgumentException is thrown when a "None" value is passed to a GameObject property via UnityEvent
unity_02eYtwdFXhbHSA
Sep 06, 2022 09:37
Having this same issue, try/catch doesn't help as a workaround, Unity just straight up crashes no matter what.