Repro steps :
- Open attached project
- Open scene called "OutdoorsScene"
- Select current HDRP asset and make sure disabling / enabling Decals works fine.
- Now Check Dynamic Render Pass Culling in the HDRP Global Settings (Misc Section at bottom)
- Select current HDRP asset and disable Decal
Expected : Nothing should happens (since there's no decal anyway)
Result : Errors about water lighting on console.
Environment :
- Windows 10
- Unity 2023.2.0a1
- HDRP 16.0.0
Errors
Compute shader (WaterLighting): Property (_CameraDepthTexture) at kernel index (4) is not set
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)