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
- Freeze on DynamicHeapAllocator::InitializeMemoryRegion when entering Play mode in a specific scene
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
Add comment