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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.