Search Issue Tracker
Fixed in 2022.3.11f1
Fixed in 2022.3.X, 2023.1.X, 2023.2.X, 2023.2.0b10, 2023.3.X
Votes
2
Found in
2022.3.8f1
2023.1.11f1
2023.2.0a16
Issue ID
UUM-36302
Regression
Yes
[Memory Profiler] UI Toolkit MultiColumnTreeView initializes default SortColumns too late for initial sorting
Reproduction steps:
1. Open the “SortingIssue“ project
2. Open Memory Profiler
3. Select any snapshot
4. Open the “Unity Objects“ tab and observe the “Allocated Size” column
Expected result: Objects are sorted by “Allocated Size” (default sort order defined in UXML is provided on accessing it via API and can be applied on initial displaying of the MultiColumnTreeView)
Actual result: Objects are not sorted by “Allocated Size” even though the header shows that they are
Reproduced in: 2023.2.0a9, 2023.2.0a16
Not reproduced in: 2022.2.21f1, 2023.1.0b17, 2023.2.0a8
Could not test in: 2020.3.48f1, 2021.3.26f1 (Unity Objects feature not available)
Reproduced using: macOS 13.3.1 (Intel), Windows 11
Notes:
1. Memory Profiler fails to sort correctly because, on the initial building of the view, the Sort Columns that are set in the UXML file are not reported when queried
2. The regression seems to be in UI Toolkit, not Memory Profiler
3. Sorting becomes correct when clicking any header to resort
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
- Some post-processing volume overrides only update after a refresh when using HDRP
- Video Player glitches when Skip On Drop is enabled
- GameObject movement in Scene view becomes stuttery and intermittently freezes when using non-standard pointers across editor tabs or window boundaries
- Addressables.CheckForCatalogUpdates() always returns 0 when "Only update catalogs manually" is enabled
- VFX Graph forces a lengthy recompilation freeze when exiting Play Mode with a cloned Render Pipeline asset
Resolution Note (fix version 2023.3):
Fixed UUM-36302: UI Toolkit: Fixed sorting change events being sent during reapplication of view data state.
Resolution Note (fix version 2023.2):
Fixed UUM-36302 @laila-chammaa:
UI Toolkit: Fixed sorting change events being sent during reapplication of view data state.