steps
- open project
- ensure "New Shader Graph" is open
- ensure a URP asset is assigned to Project Settings > Graphics
- ensure active URP asset is using Lighting > Light Probe System = Probe Volumes
- In project tab, click "New Shader Graph.shadergraph" then check inspector tab
- check console
Expected: no errors in inspector tab or in console
Actual: errors in inspector tab, also shown in console sometimes
Repro: Unity 2023.1.2f1, 2023.2.0a22
No Repro: Unity 2023.1.1f1
Notes:
- Workaround - Set Light Probe System = "Light Probe Groups" on the active URP asset AND then click "save asset" in the affected shader graph(s)
- the shader compilation error can be cleared from console BUT MAY STILL BE PRESENT - follow step 5 - click the shader graph asset in project tab, and check inspector tab to see the error in inspector, and also to get the error in console again