My Pawn not spawn on player start

My APawn not spawn on player start when I implement SetupPlayerInputComponent(UInputComponent PlayerInputComponent)*. In case of deletion of that function my APawn spawn correctly. Snipet of SetupPlayerInputComponent

void AMyPawn::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
	Super::SetupPlayerInputComponent(PlayerInputComponent);
	PlayerInputComponent->BindAxis("UpDown", this, &AMyPawn::MoveUpDown);
}

void AMyPawn::MoveUpDown(float Value)
{
	FVector Location = GetActorLocation();
	SetActorLocation(FVector(0, 0, Location.Z + Value));
}

Why when I comment that the player start work ?

I resolve it . The problem was SetActorLocation(FVector(0, 0, Location.Z + Value)); the x and y location it is zero. That instruction set my pawn at location 0 which ignore the Player start.