DrawScale = Landscape->GetRootComponent()->GetRelativeScale3D();

DrawScale = Landscape->GetActorScale3D();

Changing as above will solve the problem.

Steps to Reproduce

1. open NewWorld.umap
2. change the scale of the Cube
3. change the Grass Density of NewLandscapeGrassType.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to AnswerHub just mention UE-102930 in the post.

Login to Vote

ComponentTools - Landscape
Affects Versions4.25.4
CreatedNov 11, 2020
UpdatedNov 12, 2020