Search Issue Tracker
Won't Fix
Votes
2
Found in
2017.3.0f3
Issue ID
1000791
Regression
No
Unused assets are not unloaded when opening a different scene
Steps to reproduce:
1. Open “AssetMemory.zip” Unity project
2. Open “Example” scene
3. Select “ReferenceHolder” object in Hierarchy
4. Set “Release Managed References On Destroy” value to True in Inspector
5. Open Window->Profiler
6. Make sure that Memory Profiler is added and Detailed mode is enabled in Profiler
7. Click "Take Sample: Editor" in Profiler
-Notice the “Cat” sprite reference under Assets->Sprite in Profiler
8. File->New Scene
9. Click "Take Sample: Editor" in Profiler
-Notice the “Cat” sprite reference under Assets->Sprite in Profiler still remains after changing the scene
Expected results:
Asset is unloaded after opening a new scene scenes
Actual results:
Asset is not unloaded after opening a new scene scenes
Reproduced in: 2018.2.0a1, 2018.1.0b7, 2017.3.1p1, 2017.2.1p4, 2017.1.3p1, 2017.1.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment