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
- "The FrameSetting required to render this effect in the Game view depends on a disabled FrameSetting." warning appears when post-processing effects ere enabled in pipeline settings
- Crash on RaiseException when calling maxmath.comb() with the debugger disabled
- Crash on __pthread_kill when entering Play mode
- Crash on tlsf_free when exiting Play Mode in a specific project
- Camera Solid Color is overwritten when injecting Custom Render Pass at 'RenderPassEvent.AfterRenderingPrePasses + 1'
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