Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.1.2f1
2020.2
Issue ID
1270655
Regression
No
[UIElements/UI Toolkit] One extra item is added to the ListView when a ListView is bound to a SerializeReference List
How to reproduce:
1. Open the user's attached "bug-uielements-list-binding.zip" project
2. Open the "scene" Scene
3. Select the "Tests" GameObject in the Hierarchy window
4. Observe the Inspector
Expected result: ListView and the bound SerializeReference List have the same amount of items
Actual result: ListView has 3 items while the bound SerializeRefence List has only 2 items
Reproducible with: 2019.4.8f1, 2020.1.3f1, 2020.2.0a21
Could not test with: 2018.4.26f1 (UI Toolkit is not available)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
This behaviour is currently by design in the ListView binding. However you can easily disable it by setting the showBoundCollectionSize property of ListView instance to false.