Bot Character can't move if use "Spawn Actor From Class" function spawn it

Hello everyone.
I’m a noobie with AI.
I creat a behavior tree to control the bot character do the patrol task,and it’s work.

85742-partol.png

like this.
And then,I creat a blueprint and let it auto spawn the bot character in the scene.
But it’s not work.

85743-notwork.png

These bot characters are floating on air and haven’t do the behavior tree task.
I don’t know what happen.
Is there someone can help me?
Thanks a lot!

I found the problem.
I need to call the “SpawnDefaultController” function after spawn the Character.