Shadows of Spotlight "flying" problem

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Liemaeu

I enabled shadows of my spotlight (it is used as a flashlight), but the shadows are not on the ground (as they should), they are “flying” behind the objects.

Some screenshots:
enter image description here

enter image description here

My shadow settings of the spotlight:
enter image description here

It’s a child of the camera node.

How can I fix this?

Thank you in advance!