Search Issue Tracker
Won't Fix
Won't Fix in 1.18.X
Votes
1
Found in [Package]
1.18.11
Issue ID
ADDR-2090
Regression
No
Editor freezes when using LoadAssetAsync<T>(string key).Task for AudioClip
How to reproduce:
1. Open the uploaded project found in the Google Drive
2. Open "StoryReadScreen" Scene
3. Enter Play Mode
4. Press "Play Sound Clip" in the Game view
Expected result: Editor freezes
Actual result: Sound plays and the Editor doesn't freeze
Reproducible with: 1.18.4 (2020.3.14f1, 2021.1.14f1, 2021.2.0b4, 2022.1.0a2), 1.18.11 (2022.1.0a2)
Could not test with: 2018.4.36f1, 2019.4.28f1 (serialization errors)
Notes:
- LoadAssetAsync works fine with an image
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
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
Resolution Note:
This will not be fixed
Resolution Note (1.18.X):
The issue is that LoadAssetAsync doesn't finish before PlaySound is called, which sees the sound isn't loaded, so it calls LoadAssetAsync again and it goes in a loop forever. A fix to PlaySound has been suggested to the customer.