Steps to reproduce:
1. Open the attached “IN-88166.zip” project
2. Open the “SampleScene”
3. Open Assets → Shaders → “SpriteShadowShader.shadergraph”
4. Select “Graph Settings”
5. Edit any variable
6. Save the Shader Graph
7. Change to Scene View
8. Observe the Console Window
Expected result: No errors are thrown
Actual result: “State comes from an incompatible keyword space“ error is thrown
Reproducible in: 6000.0.0b16, 6000.0.26f1, 6000.1.0a3
Not reproducible in: 2021.3.45f1, 2022.3.52f1, 2023.2.19f1
Couldn’t test in: 2023.3.0a2, 6000.0.0b15 (because Shader Graph package didn't work correctly)
Reproducible on: Windows 11
Not reproducible on: No other environment tested