Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2017.4
2019.3.5f1
2020.2
Issue ID
1250942
Regression
No
Memory leak when calling Editor.CreateEditor()
How to reproduce:
1. Open attached project "CreateEditor.zip"
2. In the Project window, go to Assets > Scenes and open "SampleScene"
3. In the Hierarchy window, select "SelectMe" GameObject
4. Open the Console window and then hover mouse on the Inspector window
Expected result: Editor.CreateEditor() doesn't cache and memory doesn't add up
Actual result: Editor.CreateEditor() caches and memory usage increases
Reproducible with: 2017.4.40f1, 2018.4.23f1, 2019.4.0f1, 2020.1.0b12, 2020.2.0a14
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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a20