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
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
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.