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
- [Android][Vulcan] "UNITY_DISPLAY_ORIENTATION_PRETRANSFORM" is always 0 when the render pipeline is URP
- Editor loads for a long time when doing an Undo action in a large Shader Graph
- Memory leak when building AssetBundles
- [Asset Bundle] AudioSource output field not staying connected correctly when loaded from Asset Bundle
- [Android] Duolashock4 controller is not detected after disconnecting and reconnecting controller while the Player is running in the background
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