Shadow issue. Lumen/VSM

Shadows appear suddelny when a camera gets closer. Ive tried suggested concole variables but it didnt solve the problem - shadows still popup. Using MSQ. Lumen/VSM.

In your light (Directional Light), try changing the Dynamic Shadow Distance MovableLight and Distance Fadeout Fraction.