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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment