Shadows disappear on the distance

I have finished my problem. However, my UE5‘s camera often lags.