Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.53f1
6000.0.29f1
6000.1.0a9
7000.0.0a12
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
- Number "0" is not visible in Unity Documentation page button tooltips
- Selected Korean input text in UIToolkit TextField is not fully replaced when refocusing and entering new input
- [UITK Controls] Non text InputField can't be reset by API
- Control Scheme name field has no character limit, causing “Add Control Scheme” window to expand if name is too long
- Prefab variants do not keep the values of linear drag and angular drag while upgrading the project from Unity 6000.0
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