Character Doesn't Move When Playing Animation

If I place my character BP in the default pawn class in the game mode and start the level, my character will animate according to the Anim BP but won’t move from its place. But if I place the character in the scene and enable auto posses player with player 0, it will move correctly.
Why does this happen?