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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Add comment