Search Issue Tracker
Fixed in 2017.3.0f3
Votes
4
Found in
5.4.3f1
Issue ID
865669
Regression
No
Calling Resources.UnloadUnusedAssets() unloads used audio asset bundles
Reproduction steps:
1. Open my attached project
2. Open the "test01" scene
3. Enter Play mode
4. Click on the test button
Expected Result: The third track keeps on playing when Resources.UnloadUnusedAssets(); is called, because it's used.
Actual Result: The third track is stopped when Resources.UnloadUnusedAssets(); is called, even though it's in use.
Reproducible on: 5.3.7p1, 5.4.4f1, 5.5.0p3, 5.6.0b3
Tested on Windows 10
Comments (3)
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
- [macOS] Editor window is not restored to previous position when launching the Editor and mouse cursor is on a different screen
- [Usability] Warning message in an Adaptive Probe Volume Component is not informative enough when Realtime Global Illumination is enabled
- Inspector for Adaptive Probe Volumes is not repainted when toggling Realtime Global Illumination setting in the Lighting Window
- Surface Inputs are not rendering when using the custom BaseShaderGUI
- Reflection Problem custom Cubemap loses its reference when HDR is enabled and the platform is switched
Kiichi
Oct 04, 2017 15:37
If the sound asset played by any audio source it remains active and not unloading, but if you played it via PlayOneShot - it does! The sound just stops in the middle of playing.
pineda100
Jul 11, 2017 07:45
reproduce step in our project.
Start a scene with. play a BGM.
load the same scene. play the same BGM.
call unloadassets.
BGM stops playing.
note that the BGM is loaded from a asset bundle.
WisdomInfotech
Mar 21, 2017 16:26
Application crashed when Resources.UnloadUnusedAssets(); is called (v.5.4.1) ,
Expected result : validate with active resources which are currently used in scene, and remove unused resources from scene