Ai Repossess

hello having a bit of an issue i have a vehicle with an ai controller controlling a blackboard that when spawned will follow me around…now when i spawn it in the ai works but when i possess it then unpossess it the ai stops working

the creature code shown allows me to unpossess the creature and repossess my character but the ai for it does not return tried repossessing it and adding a run on behavior tree but was just getting access none errors

I think when you possess the actor the aicontroller gets destroyed. Try spawning another aicontroller and getting it to possess the pawn when you stop controlling it.