Download

Can't make AIController Class?

Whenever I try to make an AI Controller class it just gives me this set of errors…

fJ4sWcv.png

Just wondering what’s going on. If you need my logs just ask and I’ll upload them to pastebin or something.

I found out what was wrong. For anyone wondering on <your project name>.Build.cs there will be a line of code like this.


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

You want to change it to this.


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

You need the AIModule at the end.