Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
0.10.2-preview
Issue ID
1231131
Regression
No
[UI Builder] A lot of garbage is being collected when UI Builder inspector or hierarchy are being dragged/resized horizontally
How to reproduce:
1. Open attached project "UIBuilderMoveWindowLagSpike.zip"
2. In Project window, open "Assets" -> "NewUXMLTemplate (UI Elements View Importer)"
3. In UI Builder, resize inspector window horizontally towards the hierarchy (this must be horizontally towards the middle of the window, resizing vertically does not reproduce the bug)
4. Observe the window (this might take 5-20s until the first repro, then it is way more frequent)
Expected result: the window does not freeze
Actual result: the window does has frequent lag spikes due to garbage collection
Reproducible with: 2019.3.8f1, 2020.1.0b4, 2020.2.0a5 (0.9.0-preview, 0.10.2-preview)
Could not test with: 2017.4, 2018.4 (UI Builder was not yet released), 0.8.0-preview due to UI Builder errors in the Console window
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Please note: this is not a bug but rather a missing optimization feature which we (the UI Tools team OR the UI Tech team) plan to work on in the next months. This requires some refactoring and mostly to add optimization support to the layout system. This feature will fix more problems than just this one. Please stay tuned for more details.