Download

Character desync

Hi! I have strange movement desyncs, anybody had the same issue? I added a youtube video link.

It happens both with AddMovementInput and SimpleMoveToPosition.

https://www.youtube.com/watch?v=-SSMBctaLXY

My network character settings:



bReplicates = true;
bReplicateMovement = true;
bNetLoadOnClient = true;

bAlwaysRelevant = true;
////bNetUseOwnerRelevancy = true;

NetPriority = 3.0;

ReplicatedMovement.VelocityQuantizationLevel = EVectorQuantization::RoundTwoDecimals;
ReplicatedMovement.RotationQuantizationLevel = ERotatorQuantization::ShortComponents;

GetMesh()->bEnableUpdateRateOptimizations = true;
GetMesh()->SetReceivesDecals(false);

NetCullDistanceSquared = 22500000000000;

bUseControllerRotationPitch = false;
bUseControllerRotationYaw = false;
bUseControllerRotationRoll = false;

agent = GetCharacterMovement();

// Configure character movement
agent->bOrientRotationToMovement = true; // Rotate character to moving direction
agent->RotationRate = FRotator(0.f, 540.f, 0.f);
agent->bConstrainToPlane = true;
agent->bSnapToPlaneAtStart = true;

agent->bRequestedMoveUseAcceleration = true;
agent->MaxCustomMovementSpeed = MAX_MOVESPEED;
agent->MaxAcceleration = 20000.f;
agent->MinTouchForce = INFINITY;
agent->MaxTouchForce = INFINITY;