AI follows the player and then stops, what could be the problem?

I’m trying to get the enemy to follow my character. the enemy follows me when I start the game
and then starts shooting at me

and that’s okay, but when I go around the enemy once or twice, he stops in place and doesn’t follow me again

I am attaching the blueprint event graph of the enemy, what could be the problem?

The enemy should follow my player posted by anonymous | blueprintUE | PasteBin For Unreal Engine

  • check output log if the nav path is blocked or something
  • might need to add some condition like IsChasing so that it doesnt do both SearchAround and Chase at the same time.
  • i believe there something like cancel moveTo or movement, you can try adding this after the event node Chase.
  • there that tuto if that can help, it does have enemy follow character and patroling: Demonstrating Animation Blueprints and AI for Gameplay Designers | Course