Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Create a new Lit Shader Graph (Shader Graph > URP > Lit Shader Graph)
- Enable "Allow Material Override" in the Graph Inspector
- Enable "Override Stencil" in the Graph Inspector
- Save the Shader Graph
- Right-click the Shader Graph in the Project window and create a Material for it
- Select the newly created Material
- Enable the "Override Stencil" in the Inspector
- Deselect and select the Material again in the Project window
- Observe the "Override Stencil" property
Actual results: Override Stencil does not save or stay enabled
Expected results: Override Stencil saves/stays enabled
Reproducible with versions: 6000.7.0a4
Can’t test with versions: 6000.0.0f1, 6000.0.81f1, 6000.3.21f1, 6000.5.7f1, 6000.6.0b7 (due to no Override Stencil feature)
Tested on (OS): MacOS Silicon Tahoe 26.5.1, Windows 11