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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment