Build has a second weird shadow that moves with the capsule and disappears when jumping:
PlayMode looks fine, no weird extra shadows anywhere:
I didnt mess with any shadow settings, everything is default. Why is this happening and how can I prevent/remove these extra weird looking shadows that only appear in a Build ?
This seems to be the same bug, from Augusts 2022:
[2021.3.7f1] I have a problem in HDRP 12.1.7 with shadow casting. As you can see the light casts a strange shadow around the player object.
What is the problem? And what could be the solution??
[8345781--1097982--immagine_2022-08-08_145811753.jpg]
Here are the settings for the shadows on the light game object:
[8345781--1097988--immagine_2022-08-08_150704753.png]
I have read in other forums that maybe I need to change the normal bias, or something like that, but I don't find any settings …
I changed the “Angular Diamater” of the Sun/Directional Light object and it seems to help a tiny bit, but the bug persists.