Death Camera ClientSetSpectatorCamera Issue

I’m trying to add a Death Camera to ShooterGame. My initial approach is to simply move the killed player’s camera to the location of their killer but I have found that oddly any CameraLocation I pass to ClientSetSpectatorCamera in AShooterPlayerController::PawnPendingDestroy(APawn* P) has no effect.

The following code demonstrates this issue:



void AShooterPlayerController::PawnPendingDestroy(APawn* P)
{
	LastDeathLocation = P->GetActorLocation();
	FVector CameraLocation(0.0f, 0.0f, 0.0f);// = LastDeathLocation + FVector(0, 0, 300.0f);
	FRotator CameraRotation(-90.0f, 0.0f, 0.0f);
	//FindDeathCameraSpot(CameraLocation, CameraRotation);

	Super::PawnPendingDestroy(P);

	ClientSetSpectatorCamera(CameraLocation, CameraRotation);
}


This should move the camera arbitrarily off to 0,0,0 but instead it remains at the position where the player was killed.

What is odd is I can change the CameraRotation and this will affect the killed player’s camera, so CameraRotation(90.0f, 0.0f, 0.0f) will succeed in making them look at the sky, but again CameraLocation has no effect.

What am I not understanding?