Steps to reproduce:
- Create a new URP 3D project
- Go to Assets > Create > Shader Graph > Custom Heatmap Values > Heatmap with Default Values
- Select the asset
- In the Inspector, expand the "Subgraphs" foldout
- Click "+" to add a new list item
- Once added, click Ctrl+Z to undo
- Observe the behavior
Actual results: The asset gets unselected and undo operation is not performed
Expected results: The newly added list item should be removed when undo is triggered, and the asset should remain selected
Reproducible with versions: 6000.0.0f1, 6000.3.16f1, 6000.4.8f1, 6000.5.0b8, 6000.6.0a5
Tested on (OS): Windows 11
Notes:
- Adding a new list item does not appear in the Undo History
- Does not reproduce with Categories list