Unreal 5.4 crashed while migrating level

This appears to be caused by not calling “RegisterComponent” before calling “BuildGrassMapsNowForComponents”.
I tried 5.3 and it had the same problem.

1 Like

Same crash here.

Have you tried 5.4.4?
I found a change made on Engine/Source/Runtime/Landscape/Private/LandscapeGrassMapsBuilder.cpp

https://github.com/EpicGames/UnrealEngine/commit/7ea0671ff07cab84b77ef149ef2f235b08f355e8#diff-c7be122387d08574f47f3badd91850f3635c17f488136b0e7657f51f9b70afa6R789

This commit seems to solve my problem

I didn’t try it in 5.4, but this problem is obviously not solved. At line 820 of the code, nothing will be found, and only nullptr will be obtained here, so the program will crash after line 820. Therefore, unless all subsequent logic is skipped when State is nullptr or RegisterComponent is called in advance, this problem will always exist