Unity Issue Tracker - Selection is not updated when itemsSource is filtered in MultiColumnListView
Fixed
UUM-117105
Selection is not updated when itemsSource is filtered in MultiColumnListView
Unity: UI Toolkit Controls
Fixed
6.6.X
6000.6.0a1
Won't Fix
6.5.X
6.4.X
6.3.X
6.2.X
6.0.X
6000.0.1f1 onwards
Fixed in 6000.6.0a1
Fixed in 6.5 and above. Fix not compatible with this version.
Fixed in 6.5 and above. Fix not compatible with this version.
Unity 6000.2 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
Fixed in 6.5 and above. Fix not compatible with this version.
How to reproduce:
1. Open the “IN-112304_ListViewBug“ project
2. Open the “SampleScene”
3. Enter Play mode
4. In Game view select numbers 4-12 (with shift-click or control-click)
5. In the Hierarchy select “UIDocument”
6. In the Inspector click the three dots on the “Test Script” Component and select “FilterItems”
7. In the Inspector click the three dots on the “Test Script” Component and select “Print out selection”
8. Observe the console log
Expected result: The selected indices match the filtered itemsSource list size and selected items does not contain null items
Actual result: The logs show the selected indices are bigger than the filtered itemsSource size and there are null objects in selected items
Reproducible with: 6000.0.1f1, 6000.0.57f1, 6000.2.4f1, 6000.3.0b1
Not reproducible with: 6000.0.0f1
Reproducible on: macOS 15.6.1 (M1 Max), Windows 11 (by user)
Not reproducible on: no other environments tested
Prioritise and Follow this issue
Have a workaround or additional info about this issue?