Search Issue Tracker

Fixed in 2022.2.X

Planned for 2021.3.X

Votes

8

Found in

2021.2.0a13

2021.2.4f1

2022.1

Issue ID

1384382

Regression

Yes

Audio keeps playing after calling AudioSource.Stop when Audio Clip's Load Type is set to Compressed in Memory

Web Platform

-

How to reproduce:
1. Open the attached project "AudioBugTest.zip"
2. Build And Run the project
3. In the opened browser window press the space bar on the keyboard
4. Press the S key on the keyboard

Expected results: Audio stops playing
Actual results: Audio keeps playing

Reproducible with: 2021.2.0a13, 2021.2.6f1, 2022.1.0b2
Not reproducible with: 2019.4.33f1, 2020.3.24f1, 2021.2.0a12

Notes: Does not reproduce when Load Type is set to Decompress On Load

  1. Response avatar

    Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a4

Comments (5)

  1. 6f2685a48c242db728d6b4eb7223a6fe?d=mm

    JolanHuyvaertDieKeure

    May 09, 2022 06:41

    Are there any updates on this? This is still not fixed in 2021.3 LTS, so compressed audio is still completely unusable on webgl at the moment.

  2. 6f2685a48c242db728d6b4eb7223a6fe?d=mm

    JolanHuyvaertDieKeure

    Feb 14, 2022 07:49

    Can this be fixed for 2021.2.x as well? It's not in the known issues list of 2021.2.11, but the bug is still present.

  3. 8a93aa063b66aea6bc995d8d3d22f840?d=mm

    SirKnightDragoon

    Feb 08, 2022 14:13

    Issue still present in 2021.2.10 :(

  4. 6f2685a48c242db728d6b4eb7223a6fe?d=mm

    JolanHuyvaertDieKeure

    Feb 02, 2022 07:46

    Issue still present in 2021.2.9f1. Fix needed urgently please.

  5. 6b96497eef2ebdf95c4a911d9c7f44e2?d=mm

    pocoster

    Dec 12, 2021 23:57

    Same issue for me with 2021.2.6f1.

    I am building to WebGL and it works fine in the editor but in the build it continuously loops in the background with no errors to indicate anything is failing. Even removing the audio source after stopping doesn't fix the issue.

    Setting to Decompress on Load seems to be the only way to fix it but this is not practical memory wise so a fix is certainly needed urgently.

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.