How do I get 2D Shadows to fit an Animated Sprite?

I’m using the 2DURP and my player character is basically one game object (other parts aren’t related to him) and I have a sprite renderer and animator on the GameObject as components along with the Rigidbody2D and BoxColliders. When I try to use a 2D Shadow Cast component on it, even if I adjust the shape of it, it looks weird due to the sprite changing when animating, does anyone know any solutions?