2d Shadow Caster Working in Editor, but not Play Mode

Hi, I’m having a bit of trouble getting the 2d Shadow Caster to work. In the Editor I can see the casters working fine, but when I run my scene (or just look at the camera output while in the editor) the shadows are not cast. I tried messing around with my camera settings, but to no avail. Anyone have an idea about what could be causing this?

EDIT: I am able to create a new project and have the URP 2D Shadowcaster work as expected, but I still cannot figure out what the difference is in my original project. I’m fairly certain that Shadow Draw distance is not the issue, as setting it to 10000 had no effect.

My Camera was too close to render the shadows. facepalm

EDIT: For those who come after: The issue had to do with CinemachineVirtualCamera resetting my camera position to be rather close to the player character it was following.

1 Like