Search Issue Tracker
By Design
Votes
1
Found in
2022.3.58f1
6000.0.38f1
6000.1.0b6
6000.2.0a3
Issue ID
UUM-97638
Regression
No
ListView fails to display items when the source list is cleared and a single element is added
Reproduction steps:
1. Open the attached “IN-92741” project
2. Open the “Scenes/SampleScene” Scene
3. Enter the Play Mode
4. Observe the Game View
Expected result: “Console” GameObject shows time since the game start
Actual result: “Console” GameObject only shows initial number “0” and then stops
Reproducible with: 2022.3.58f1, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Reproducible on: Windows 10, Windows 11 (user)
Not reproducible on: No other environments tested
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
When a change is made to the data source you need to inform the ListVIew so that it can update itsellf. After adding the item to logs call RefreshItems();
https://docs.unity3d.com/ScriptReference/UIElements.BaseVerticalCollectionView.RefreshItems.html