error:LNK2001 within UBTService class

In your .Build.cs file, have you added “AIModule” to the “PublicDependencyModuleNames.AddRange”? Like:

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