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 release JIT incorrectly replaces long multiplication with a left-shift operation
- [IL2CPP] RuntimeInitializeOnLoadMethod is stripped/not executed for Android development builds
- Animation fails to trigger when Animator enters Animation State and Animator Component is on the parent GameObject
- "NullReferenceException" is logged when adding a visual element to a list using the Item Template setting
- Errors are thrown and the view is not rendered properly when using Overlay Camera with Non-Default 2D Renderer
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.