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
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