Editor Crashing. Assertion failed: Q.IsNormalized()

Hi, as the title says the unreal editor is crashing on me with the above message.
the full log is below:

The code I am trying to execute is to get the player character to check for a wall in front of themselves and jump up to a certain distance below it (acting as a ledge grab).

The bit I am having trouble with is the UKismetSystemLibrary::MoveComponentTo() method. In particular the rotation parameter, as this is the only part I imagine used quaternions.

FVector targetLocation;
targetLocation = ...

FVector rotationVector = wallImpactNormal*-1;
rotationVector.Normalize();

FRotator targetRotation = FRotator();
targetRotation = rotationVector.Rotation();

FLatentActionInfo LatentInfo;
LatentInfo.CallbackTarget = this;

...
UKismetSystemLibrary::MoveComponentTo(RootComponent, targetLocation, targetRotation, false, false, 0.2f, false, EMoveComponentAction::Type::Move, LatentInfo);
GetMovementComponent()->StopMovementImmediately();EMoveComponentAction::Type::Move, LatentInfo);
		GetMovementComponent()->StopMovementImmediately();

Fixed this by not using the targetRotation variable, so:

FRotator targetRotation = FRotator();
 targetRotation = rotationVector.Rotation();
...
 UKismetSystemLibrary::MoveComponentTo(RootComponent, targetLocation, targetRotation, false, false, 0.2f, false, EMoveComponentAction::Type::Move, LatentInfo);

became just:

UKismetSystemLibrary::MoveComponentTo(RootComponent, targetLocation, rotationVector.Rotation(), false, false, 0.2f, false, EMoveComponentAction::Type::Move, LatentInfo);

I can only assume this had something to do with setting the variable, did I create a null reference exception by mistake?