In UE5.0, a small area of my Landscape lost collision.
I tried copying and pasting a new Landscape and modifying Collision Mip Level, but neither worked.
Resize in Landscape mode would cause a crash with an error report of : Assertion failed !SplineComponent [File:D:\build++UE5\Sync\Engine\Source\Runtime\Landscape\Classes\LandscapeProxy.h] [Line: 944]. I couldn’t find a way to remove the invalid Splines mentioned in the logs.
Does your landscape have any negative scaling? Visually negative scale still works in UE5 but collision is completely broken (it’s still there but flipped incorrectly). Try the different collision visualization modes to see if that’s your problem as well. What I had to do to fix was to export the heightmap, flip it in an image editing tool and then reimport and remove the negative scaling.
Thank you,it work for me.
Export the heightmap and layers, delete the problem landscape component and add a new one,and then import the original heightmap and layers,the collision is normal.However, in this way, some information such as planted vegetation will still be lost. I will keep seeing if I can find a way to refresh the existing landscape and regenerate the collision.
Thank you very much for your answer, which helped me a lot.
The issue has been resolved.
It turns out that a colleague had been messing around with the Visibility brush, and our material didn’t have a LandscapeVisibilityMask, resulting in invisible holes on the Landscape.