Simple FindPathToActorSynchronously compile error in C++ [SOLVED]

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