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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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.