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

Web Platform

-

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)

Comments (1)

  1. 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.

Add comment

Log in to post comment