Search Issue Tracker
By Design
Votes
0
Found in
2019.1.12f1
2019.2
2019.3
2020.1
Issue ID
1192390
Regression
No
Profilers shows that GameObject still uses Memory when the GameObject is unloaded
Steps to reproduce:
1. Open the attached project "Case_1192390"
2. Open "SampleScene"
3. Enter Play mode
4. Press GenerateButton on GUI. a prefab with the image component will be
instantiated.
5. Press Destroy Button on GUI.
6. Press Unload Button on GUI.
7. Open Profiler with Deep Profiling
8. Check Memory-> Gather object references-> Assets -> Texture2D
Expected results: Unloaded GameObject should not use any Memory
Actual results: Profiler shows that Unloaded GameObject still uses Memory
Reproducible with: 2019.2.10f1, 2019.3.0b7, 2020.1.0a9
Note: 2019.2.0a2 and lower brake the UI elements and the scripts in the project
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
- 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
Resolution Note:
Closing as By-Design as instructed by Martin Schmitz, since the issue does not reproduce with a build