Now, I create landscape by myself plugin, and i used the function CreateImportLayersInfo of ULandscapeEditorObject, and it reported the following errors.
'Unresolvable external symbols “public: enum ELandscapeImportResult __cdecl ULandscapeEditorObject::CreateImportLayersInfo(class TArray<struct FLandscapeImportLayerInfo,class TSizedDefaultAllocator<32> > &)” (?CreateImportLayersInfo@ULandscapeEditorObject@@QEAA?AW4ELandscapeImportResult@@AEAV?$TArray@UFLandscapeImportLayerInfo@@V?$TSizedDefaultAllocator@$0CA@@@@@@Z),函数 “private: bool __cdecl ULandscapeImporter::CreateLandscapeFromHeightmap(class FString &,class FString &,class FString &,float,float,float,float,float,float,int)” (?CreateLandscapeFromHeightmap@ULandscapeImporter@@AEAA_NAEAVFString@@00MMMMMMH@Z)…
…
Soft environment: UNREAL5.4 + VS2022.
a. I have added the modula ’ LandscapeEditor’ into my .build.cs.
b. i checked the documentation which has those functions and class ‘ULandscapeEditor’.
Please give me a help please if you have encountered this issue or know something.
Regards