Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.53f1
6000.0.29f1
6000.1.0a9
Issue ID
UUM-87800
Regression
No
Listview selection not updated when the binded itemsSource changes
h3. Description
deleting mask modifiers (with shortcut) doesn't update the selected item correctly, when deleting the last item of the list view, the selection is out of bounds and trying to copy will result in a null ref exception.
h3. Repro Steps
Open WorldWorkspace/EnvTestProject
Open GettingStarted scene
select WorldAsset game object
double click on the object picker in the inspector to open the WorldAssetEditor window
select MaterialAssetLayer
in the inspector, click on the Mask tab
add a mask modifier by clicking on the + button (any type of modifier works)
select the modifier (click on it)
delete it (delete key or Ctrl+x)
copy (Ctrl+c)
h3. Actual Results
exception
h3. Expected Results
no exception
h3. Versions
h4. Editor Version
7000.0..0a10
h4. Git Repo Commit or Package Version
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:
The issue was with the ListView usage. Use TrackPropertyValue to track external changes to a serialized property.
https://docs.unity3d.com/6000.0/Documentation/ScriptReference/UIElements.BindingExtensions.TrackPropertyValue.html