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
- Console displays "ArgumentException: Cannot unschedule unknown scheduled function UnityEngine..." error after the "Audio Random Container" closing
- [Ubuntu] Asset Bundles Dropdowns Contain Empty Row in Inspector
- Symbols are generated for a third-party native plug-in with 'Shared Library Type' set to 'Executable' when building for Android
- "Search by Import Log Type" Icon Nearly Invisible in Light Theme (Project Window)
- [Android] Realtime Directional Light turns off when there is no realtime shadow caster in the view
Add comment