Search Issue Tracker
By Design
Votes
0
Found in
5.0.0a6
Issue ID
602594
Regression
No
DynamicLoading audio clip does not play sound
To reproduce:
1. Import an audio clip
2. Set it's load type to DynamicLoading
3. Add it to scene and enter play mode - no sound plays
Explanation:
This is not a bug. When you set a sound to be dynamically loaded, you need a script to call AudioClip.DynamicLoad on it first to actually do the dynamic loading before you can play it. The idea is that scenes can reference all the sounds they need, but the memory footprint of these is very minimal until the sound is actually used and the script requests it to be loaded. Note that the arguments of DynamicLoad provide various ways how to load the sound.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment