Spawning AI Doesn't Work Properly?!
(Hello the images are from Gyazo because i have seen that the page got too long if i upload)
So my problem is exactly the same as :
The answer was to set "Auto Posses Ai" to "Placed in World or Spawned" and so i did
I spawn the Ai with the "My_GameMode" at beginplay
I have no Behaviour Tree so i leave it empty i dont know if that is the problem?
But then it spawns the correct AIController but it doesn't get the "controlled pawn"
why does my own AiController "Wave_AIController" not link with the AICharacter "Wave_AI"??
The controller gets spawned before the pawn so the begin play triggers before possessing the pawn which means GetControlledPawn is Null, you should handle the OnPossess instead like the imag below, or do handle everything in the begin play of the pawn by getting the controller and executing some function on it from the pawn.
Follow this question
Once you sign in you will be able to subscribe for any updates here