I have this issue in the shadows in UE 5.2 official release.
This is a video recording for the editor, a fresh default level, notice how the shadows disappear after a distance, and how they come back when I zoom in.
When I turn raytraced shadows off, the problem is solved, but it comes back when raytraced shadows is back on,
For performance reasons, raytracing culls objects beyond a certain distance. I’d recommend reviewing the documentation on RT for more comprehensive information, but this can be adjusted with cvars, like:
r.RayTracing.Culling.Radius
According to the documentation, please see the attached image, I increased the amounts of culling for the radius to ridiculous amounts, but unfortunately, the problem is still there,
This issue wasn’t there in UE 5.1, when a default level is created, with the default sunlight system, the shadows would work out of the box, I am not sure if I am missing something,
I updated my project from 5.1 to 5.2, and because of this problem I can’t proceed with doing the work in 5.2,
I didn’t get an answer so far, but I found away to to get around this issue, I don’t know if this is the right way to do it, but when I increased the bound scale for the object to 1000, the problem was gone.