Simple FindPathToActorSynchronously compile error in C++ [SOLVED]

How can I fix it? What possible could go wrong? UE4.23(from EPGS launcher)

OUTPUT:

1 Like

SOLVED!

I just need to add next in (yourProjectname.Build.cs file):



//...
using UnrealBuildTool;

public class CoopGame : ModuleRules
{
    public CoopGame(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

        PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", "NavigationSystem" });
//....


But, nevertheless UE4 output log is horrible about this error as for developers

3 Likes

“unresolved external symbol” is a common linker(not compiler) error when you forgot add dependencies.
Names looks scary because are mangled, but this is how C++ handle function overloading.

oh thank the lord i found this post, i must remember about linker’s, cheers for the info