Why isn't my Pawn moving?

I don’t know what ABasePawn is, but the implementation for APawn::AddMovementInput is as follows:


Are you sure that your pawn has a movement component?
Have you tried debugging this line to see if GetMovementComponent() returns a nullptr?