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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.