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
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
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
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