Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
4
Found in
2021.2.0a13
2021.2.8f1
2022.1
2022.2
Issue ID
1395655
Regression
Yes
AudioSource doesn’t start playing when the Load Type of the Audio Clip is set to Compressed In Memory in WebGL build
How to reproduce:
1. Open the attached project "WebGLAudioBug.zip"
2. Open "TestScene" Scene
3. Select "loop" Audio Clip (Assets/Audio) and make sure the Load Type in the Inspector window is set to Compressed In Memory
4. Build and Run
5. Click anywhere inside the game window when the Scene loads
Expected result: AudioSource starts playing
Actual result: AudioSource doesn't play
Reproducible with: 2021.2.0a13, 2021.2.9f1, 2022.1.0b5, 2022.2.0a3
Not reproducible with: 2019.4.36f1, 2020.3.27f1, 2021.2.0a12
Tested on: Google Chrome version 97.0.4692.99 (Official Build) (x86_64)
Note: Audio Source has enabled PlayOnAwake
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
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a9
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.1f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.3f1