Search Issue Tracker
Fixed
Fixed in 2022.3.11f1, 2023.1.15f1, 2023.2.0b10, 2023.3.0a5
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
- Tilemap Collider 2D is not updating the Collider shapes when removing Tiles on the Tilemap component
- Inspector with the scrollbar is unusable when Material properties are edited and the scene is saved
- The Rendering Profiler module statistics are zero when Application.targetFrameRate is set
- The Editor becomes unresponsive and memory allocation errors are spammed in the Console when Generating Lightning
- Crash on BatchApplyPropertiesFromSourceAssetDB when opening a specific project
Resolution Note (fix version 2023.3.0a5):
Fixed UUM-36302: UI Toolkit: Fixed sorting change events being sent during reapplication of view data state.
Resolution Note (fix version 2023.2.0b10):
Fixed UUM-36302 @laila-chammaa:
UI Toolkit: Fixed sorting change events being sent during reapplication of view data state.