Unity Shadow Caster 2D asset causing issues when object's scale is altered.

So I’m having an issue where an object’s shadow isn’t as ‘infinite’ as I need it to be if the object’s scale is too long on one side. Here is an example:

Fig1: A 1x1 square casting a seemingly infinite shadow


Fig2: A 6x1 wall casting a wider, but much shorter shadow.

In these images, the object’s width in the direction of the shadow hasn’t changed, but the shadow is much shorter on the second object.

Is there any way to fix this?

I have reported the issue to the Issue Tracker, and it has been confirmed as a bug.

Here is the link to the page: Unity Issue Tracker - [Universal RP][2D] 2D Light is rendered behind a GameObject with Shadow Caster when the GameObject is close to the light source

This issue seems to be fixed in the latest release 2020.1.0f