Download

GetLandscapeCenterPos causes an unresolved external symbol error?

Hi all,

If I lookup the function GetLandscapeCenterPos the UE api docs say to add the “Landscape” module and use: #include “LandscapeInfo.h”. Unfortunately this causes the unresolved external symbol error.

If I use the GetLandscapeExtent function it works fine. That function has the same requirements.

I have remade the project files already and everything works except the GetLandscapeCenterPos function :confused:

Anyone know why there is a difference?

Thank you.