Move to Location returns "Failed"

Hi,
I am having a problem with “Move to Location” function called from a custom AI Controller blueprint class. I have a simple class derived from “Character” parent class controlled by a custom AI Controller, which only does a simple call to the “Move to Location” function. Characters that are manually placed in a level nicely move to the target location but characters spawned using the “Spawn AI From Class” function do not move at all. The call to the “Move to Location” function from their AI Controllers returns “Failed”. Can anyone tell me what may causes this problem, please? Thank you and feel free to ask further questions :-).

  • “Auto Possess AI” in characters is set to “Placed in World or Spawned”
  • The target location is reachable since manually placed characters move there nicely

When do you call the Move to Location function? Have you tried adding a Delay node? I’m asking, because for the spawned AI controllers you might be calling it too early, like for example even before they posses the pawn.

Screenshots of the BP in question always helps in answering the question :wink:

Cheers,

–mieszko