In HDRP, "Enable Shadows" gets ticked in play mode for Point/Spotlights

I had a spotlight I wanted not to cast shadows, so I unticked “Enabled Shadows”. However, upon entering Play Mode, “Enable Shadows” gets ticked automatically. In addition, when this happens, I get the following Console log info:

Fixed up shadow data for algorithm PCF, variant V2
UnityEngine.Experimental.Rendering.RenderPipelineManager:smile:oRenderLoop_Internal(IRenderPipelineAsset, Camera[ ], IntPtr)

Is it not possible to have non-shadow-casting point/spotlights in HDRP? Any idea what might have caused this?

I would suggest looking if you don’t have a script somewhere that enables shadows at start. I could not reproduce your issue in an empty scene with only a spotlight.

Wow, sorry, you’re right. It was being changed in some code I’d forgotten about. Nothing to see here…