Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2022.1.X
Votes
0
Found in
2021.2.0a13
2021.2.1f1
2022.1
Issue ID
1379745
Regression
Yes
Only one 'Compressed in memory' AudioClip is playable in WebGL Player
How to reproduce:
1. Open the user’s attached “AudioBug_.zip” project
2. Open the “SampleScene” Scene
3. Switch to WebGL platform
4. Build And Run
5. In the WebGL Player press “A”, “S”, “D” buttons on the keyboard
Expected result: 3 different Audio Clips are played
Actual result: Only the first Audio Clip played can be played
Reproducible with: 2021.2.0a13, 2021.2.6f1, 2022.1.0b2
Not reproducible with: 2019.4.33f1, 2020.3.24f1, 2021.2.0a12
Notes:
- The expected result can be observed in the Play Mode
- This issue is not reproducible if Audio Clip in the Import Settings has Load Type as “Decompress On Load”
- Tested on Mac
-
Scott-Elson
Feb 03, 2022 15:51
At least in 2021.2.9 and .10 using "Compressed in Memory" is a problem as well. This happened sometime after 2021.1.12. If you play a sound that lasts for a few seconds the next time you try to play a different sound the previous sound will play instead, even if you're in a completely different scene and all the audiosource and audioclips are gone. There were other issues as well related to trying to stop sounds which also went away when changing the compression.
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- 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
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a4
Resolution Note (fix version 2022.1):
Fixed in version 2022.1.9f1