Search Issue Tracker

Fixed in 2021.1

Fixed in 2020.2

Votes

1

Found in

2018.2.0a4

2020.2.0a16

Issue ID

1276713

Regression

Yes

[WebGL] Audio is not played when in built Player

WebGL

-

How to reproduce:
1. Open the attached project Scene labeled "SampleScene"
2. Enter the Play Mode
3. Observe that the audio is played
4. Make a WebGL build
5. Host the WebGL build
6. Open the hosted WebGL Player in a browser
7. Listen for audio

Expected result: Audio is played in the built WebGL Player
Actual result: Audio is not played in the built WebGL Player

Reproducible with: 2020.2.0a16, 2020.2.0b6
Not reproducible with: 2018.4.28f1, 2019.4.12f1, 2020.1.8f1, 2020.2.0a15

Note: Doesn't work in Chrome, Firefox, or Edge

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in Unity 2021.1.0a1

  2. Response avatar

    Resolution Note (fix version 2020.2):

    Fix for muted audio has been backported to 2020.2. Fixed in Unity 2020.2.1f1

Comments (2)

  1. 929b9d3b81ff4a651d0c7eb8f21fff23?d=mm

    FoxWareFX

    Dec 24, 2020 09:58

    I'm using 2020.2f1 and still audio not plays? This is ridiculous!

  2. F37dd5bbdea6fbcf29396d7453fdce70?d=mm

    Erveon

    Dec 16, 2020 22:11

    2020.2 was released with this bug in it? That's not ok.
    WebGL is completely unusable in the latest Unity version with this bug.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.