Hi, i am having the problem with my shadows not showing up anymore (in both scene-view and game-view), even after checking several places (urp settings, project settings, etc.). The strange thing is: when i open Window -> Analysis -> Rendering Debugger, and under "Lighting Debug Modes", when i change "Lighting Debug Mode" or "Lighting Features" to anything else than "Nothing", then suddenly the shadows show up (please see attached screenshot). But without Rendering Debugger, i can't get the shadows to be shown.
#[Halted] Terrain not receiving shadows (shader issue)
1 messages · Page 1 of 1 (latest)
And here how it looks without the Rendering Debugger being open and have values changed, both scenview and gameview:
(no shadows)
Here are my settings
URP Settings:
Project Settings -> Graphics:
Project Settings -> Quality:
Directional Light (got only this one active in the scene):
I also tested disabling most other gameobjects except player and terrain, to make sure nothing interferes, but even then the shadows are not shown.
For all objects that are meant to cast shadows (like the barrels in the initial screenshot), i have "cast shadows" set to "on":
...
** UPDATE **
I am a step further in debugging, i found out the shadows are in fact working, but the terrain does not receive shadows, found out by moving a simple plain into the are where shadow should be, there we see the issue:
Terrain not receiving shadows
Terrain has "cast shadow" set to "on":
[Halted] Terrain not receiving shadows (shader issue)