Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 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
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
Comments (5)
-
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.
-
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.
-
SirKnightDragoon
Feb 08, 2022 14:13
Issue still present in 2021.2.10 :(
-
JolanHuyvaertDieKeure
Feb 02, 2022 07:46
Issue still present in 2021.2.9f1. Fix needed urgently please.
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
- Shader error and warnings thrown when setting HDRP as an Active Target in Blank Shader Graph
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a4