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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
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.