Hello.
I try to call a function FindPathToActorSynchronously() from UNavigationSystemV1 but have an error LNK2019.
Steps:
-
#include “NavigationSystem.h”
-
Use function UNavigationSystemV1::FindPathToActorSynchronously(args…);
Result: error LNK2019 ёё√ыър эр эхЁрчЁх°хээ√щ тэх°эшщ ёшьтюы “__declspec(dllimport) public: static class UNavigationPath * __cdecl UNavigationSystemV1::FindPathToActorSynchronously(class UObject *,struct FVector const &,class AActor *,float,class AActor *,class TSubclassOf)” (_imp?FindPathToActorSynchronously@UNavigationSystemV1@@SAPEAVUNavigationPath@@PEAVUObject@@AEBUFVector@@PEAVAActor@@M2V?$TSubclassOf@VUNavigationQueryFilter@@@@@Z) т ЇєэъЎшш “protected: virtual void __cdecl ABasePlayerCharacter::BeginPlay(void)” (?BeginPlay@ABasePlayerCharacter@@MEAAXXZ)
FindPathToActorSynchronously is a static function. I am new in C++
so maybe i missed something obvious? Thanks for any help.