Superclass AIController of class myAIController not found

I’m currently migrating code to 4.3, and have ran into the issue I posted above. I included the AIController.h, and the AIModule.h, but still getting the same error. I thought it was my code, so I created a new project and added the AIController class, it’s created from the editor with no additional code added. I was also wondering when the engine started using MyProject_API in the class declaration of the generated header files? This is a time sensitive project so any help would be greatly appreciated.

Take a look at this link.

That link doesn’t solve the AIController issue. No matter what I include I still the "Superclass AIController of class myAIController not found. This also happens when making a BTTaskNode.

Ok, I fixed it. You have to include AIModule in your project.Build.cs file like so, PublicDependencyModuleNames.AddRange(new string[] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “AIModule” });

Great, that helped me too :slight_smile: