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
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
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.