Missing DetourCrowdAIController in C++

I am trying to create an AI Controller in C++ but I want to inherit from DetourCrowd instead of the standard AIController.

When I look for DetourCrowdAIController out of all classes in the Unreal Editor only AIController shows up. This one is not an option. (“AIModule” has already been added as a dependency.)

  • Any idea why this could be?

As such, I created a class deriving from standard AIController and tried to reparent it from “AAIController” to “ADetourCrowdAIController” but this throws compiler errors.

did you find solution for this? I am having same problem.

Hi, in C++ you set it to use the UCrowdFollowingComponent instead of only the PathFollowingComponent. So in the constructor of your AI controller you do this

ABaseAIControllerCPP::ABaseAIControllerCPP(const FObjectInitializer& ObjectInitializer)

	: Super(ObjectInitializer.SetDefaultSubobjectClass<UCrowdFollowingComponent>(TEXT("PathFollowingComponent"))) {


and ofc replace ABaseAIControllerCPP with your own.