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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
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.