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
- MissingReferenceException errors are thrown after entering Play mode when multiple Inspector windows are displaying different objects with Grid Layout Group component
- "Can't change name, category with the same name already exists" Error is logged when renaming a Category to a name with a trailing space in the VFX Graph Blackboard
- Delete does nothing on an in-use Custom Attribute when re-triggered after cancelling the deletion confirmation prompt in the VFX Graph Blackboard
- No Ellipses are used for the Visual Effect Graph Create Context Menu Option
- Crash on LaunchBugReporter when opening a specific project using DirectX 12
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.