Light 2D not behaving properly with URP

Hi there, I’ve been having difficulties with Light 2D in Unity 2019.4.22f1. I’ve been trying to implement shadows into my scene to illuminate only some portions of the sprite. However, I can’t get any partial lighting going with my sprites.

For some reason, when the Light 2D object is on screen, every single sprite is illuminated, but when it’s offscreen, nothing at all is illuminated.

It doesn’t matter the distance, as long as its off screen, nothing illuminates, and if its on screen at all, everything illuminates. This occurs in gameplay too. I’ve had no luck figuring out why this might be occurring, or what could be causing it. None of the properties of the objects change it either.

7084537--843217--upload_2021-4-27_18-43-49.png
The material provided to the sprites

7084537--843220--upload_2021-4-27_18-44-18.png
The UniversalRenderPipelineAsset, with the 2D renderer data set as default (the other one is there for non-2d scenes).

Figured it out, there was a Target Sorting Layers variables that I didn’t realize existed. Whoops ahaha. Changed it, and it all started working.