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
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
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.