URP spotlights and point lights do not cast shadows
I am currently creating a game using URP with a labyrinth having walls and my character has that spotlight in his hand. The problem is that the light coming out of this spotlight does not cast a shadow through the walls of the labyrinth but it casts a shadow through the player's hand as you can see in the image below. Also with a cube in the scene, the same spotlight casts or does not cast a shadow through that cube randomly when changing the rotation and scale of that cube. I've read that some URP lights don't cast a shadow to have better performance here but why does the hand have a shadow? Also, how can I get this spotlight to cast a shadow even using URP? I've chosen URP since I am developing a game for mobile. If this is not working with URP, should I switch not to use URP and go back old renderer pipeline even for a mobile game?