When I place the AI in the level and run it, the behavior tree works fine. However, when I spawn the AI in the BeginPlay function of the game mode, it spawns, but the behavior tree does not work. How can I activate the spawned AI’s behavior tree?
Hi, make sure that you also possess your pawn on spawn (there is some option in your pawn blueprint). Otherwise it won’t be possessed on spawn (default is to only posssess when placed in the world) and therefore the behavior tree won’t execute.
1 Like