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
-
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a4