Using “Spawn Actor” to generate a Pawn with FloatPawnMovement cannot move

When I tried to click on a target with the mouse and generate a moving Pawn, I found that the Pawn generated by the “Spawn Actor” node could not move. However, when I dragged the Pawn directly into the world before running it, it could move. What is happening here?

Prerequisites for this issue: The Pawn uses FloatPawnMovement; the AddMovementInput node with WorldDirection is called in the Tick function, and Scale is set to 1.f.

Translated with DeepL.com (free version)

Hey @CN_Haomin!

Inside your pawn BP, select Self from the Components window on the top left, then while having it selected, navigate to the Details window on the right side, type in “auto possess ai” into the search bar and from the dropdown menu next to the property, select Placed in World or Spawned like this:

Here is another case arising from the same issue for reference.

Hope this helps :blush: