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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
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.