Compiler error after creating BTService Class

Try adding “AIModule” and “GameplayTasks” to PublicDependencyModuleNames.AddRange() in your project’s Build.cs file

Just tried this and it worked for me in 4.15