Hi, I have another issue with (I think) mesh terrain. There are weird shadow blobs on it that shouldn’t be there. It kinda looks like some garbage in the VSMs and it looks like moving along with the cascades, but I’m having trouble with identifying where it comes from or how to clear it.
This happens when I open the map in editor, play in PIE and also in a packaged build.
If I walk away far enough or fly the camera far enough it fixes itself (the shadows are gone).
If I move an object across them it fixes itself in sort of a block by block pattern.
If I edit the mesh terrain in any way it fixes itself.
If I rebuild the terrain it fixes itself.
If I change the view mode to one of the debug ones it fixes itself.
If I hide and show that piece of terrain mesh it fixes itself.
When I’m in PIE and press F8 twice (detach and reattach the player controller) it fixes itself.
There’s a bunch of other things that fixes it when I touch them, e.g. change some settings, use any of the build options etc.
The problem is it only fixes itself temporarily i.e. if I reload the map, restart editor or the packaged game it’s back in the same place. It wouldn’t be that big of an issue in editor, but it’s also in the packaged game.
I tried force rebuilding the mesh terrain, deleting the generated actors (preview and the compiled renderdata actors), resaving everything, editing the terrain, nuking the Saved and Intermediate folders from the game and localappdata directories, nothing helps. After I reopen the map the shadows are back, so it seems to regenerate them from something, but I don’t know what.
I’m using UE 5.8.1, Nanite, Lumen and VSMs.
I’d greatly appreciate some creative ideas how to identify the cause and get rid of it. Debugging it proves difficult, since most things/settings I touch fix it temporarily and I’m running out of ideas.
When it’s ok:
When it’s not ok in game:
When it’s not ok in editor:


