AI Works When Level Launched Directly, But Not After Menu Transition

IceBoxCrew
Tue, 01 Jul 2025 13:01:04 +0000
Programming & Scripting

Hello to everyone. I really need your help.

I have two levels: a main menu level and a gameplay level. On the gameplay level, I have two AI characters, each with their own AIController, Blackboard, and Behavior Tree. Everything is set up correctly — the AI has the correct controller class, “Auto Possess AI” is set to “Placed in World or Spawned”, and all the necessary components are in place. And they do work… but only if I launch the gameplay level directly.

When I transition to the gameplay level from the main menu, the AI doesn’t move at all. I’ve set up a patrol and player detection system for them, but none of it runs.

I’ve tried everything: changing GameModes, disabling level streaming and persistent level settings during transition, rebuilding the navigation mesh and setting it to dynamic runtime generation, even manually possessing the AI through the controller — with and without a delay. Nothing works.

I’ve been stuck on this for a week now and can’t figure out why the AI works perfectly when I launch the gameplay level directly, but completely breaks when transitioning from the menu.

Any help would be greatly appreciated

2 posts - 1 participant