Variable replication problem

Thanks. It works. I solved the Variable replication problem too. I had to do this:


#include "UnrealNetwork.h"
void AUACharacter::GetLifetimeReplicatedProps(TArray<FLifetimeProperty> & OutLifetimeProps) const
{
	Super::GetLifetimeReplicatedProps(OutLifetimeProps);

	DOREPLIFETIME(AUACharacter, Pitch);
	DOREPLIFETIME(AUACharacter, Yaw);
}