#include "LandscapeEdit.h" involves #include "InstancedFoliageActor.h" in it.
Error is:
2>d:\dev\ue4\UE_4.20\Engine\Source\Runtime\Landscape\Public\LandscapeEdit.h(18): fatal error C1083: Cannot open include file: 'InstancedFoliageActor.h': No such file or directory
But Foliage dependency for Landscape module is private. This is incorrect and forces users to explicitly add Foliage dependency into their build configs.
Bumped into the same error, however including “Foliage” as a build module crashes the whole editor during compilation time so not sure how to actually solve the issue…