Steps to reproduce:
- Create a new 3D URP project
- Go to Windows > Rendering > Lighting Search
- Find the "Directional Light" GameObject in the search list
- In the "Type" or "Mode" columns, click on the dropdown and change to any other option
- Click Ctrl+Z to undo
- Observe the dirty flag next the Scene name
Actual results: The value is undone, but the Scene remains dirty when undoing changes
Expected results: The Scene dirty flag is cleared after undoing the change if no other Scene modifications remain
Reproducible with versions: 6000.5.0b5, 6000.5.0b9, 6000.6.0a5
Can’t test with versions: 6000.0.75f1, 6000.3.16f1, 6000.4.7f1 (No Search integration), 6000.5.0b1 (Undo did not work [Internal link])
Tested on (OS): macOS 26.5
Notes:
- Reproduces only with the Light Type and Mode dropdowns in Lighting Search
- Does not reproduce with other editable values in Lighting Search. Those values undo correctly and do not leave the Scene dirty
- Does not reproduce when changing the same values through the Inspector and undoing