AI character loses it's controller after a few seconds

Hi, i have an Ai character which is working fine for a few seconds (it’s chosing a new random location, moves to it, waits and repeats), then all of a sudden, it’s controller is gone and the character stops doing anything, would anyone know how to fix this please?

Here, we can see the character working properly, then on the next screenshot, the controller is missing.