I’m not sure if this is a bug or not but trying to use the FindPathToActor function in NavigationComponent in asynchronous mode, crashes the engine. The problem occurs in the call back function: UNavigationComponent::AsyncGeneratePath_OnCompleteCallback
. During debugging, a breakpoint is triggered as soon as Path->SetGoalActorObservation(*GoalActor, FMath::Sqrt(RepathDistanceSq));
is reached.
Any help is appreciated!