Extreme Lag on Movement in Multiplayer ( 4.27.2 )

Hi

So right off the bat, the problem I’m having is extreme jitter / Lag when Rotating or Moving in a multiplayer game after being attached to another actor.

Here is a short video showing the issue, with simulated 35 fps, 250 Ping and 5% packet loss for a worse case scenario.
I am toggling the Attachment & Detachment with a key during play in the video.
( you can tell the difference immediately)

The player pawns are set to Replicate
image

And the attachment & Detachment is triggered on the server.
( Note this happens regardless of AttachActorToComponent and AttachActorToActor )
image

How can I prevent this from happening?

Thanks for any input!

Hi @AquaRex,

I’m not familiar enough with networking to answer your (excellently presented) questions.

But, I get the impression that the VR Expansion Plugin is prerequisite to doing any multiplayer replication for VR in UE. (It resolves " buffered move sends causing rollback" which may be what you’re experiencing)

1 Like

Thank you for your suggestion, I will also look into this for other issues.

I have since realized that the problem occurs regardless of VR and even in empty projects. I will update the post to include recent information to make it more relevant to the probable cause.
Thanks again! :smiley:

Bump, I still need help with this.

Do set the server to have priority?

Yes, unfortunately does nothing to help this issue as far as I can see…

Call the attach function on both the server and the client, with a multicast and it should work fine, I did this recently for my project and after multicasting it it worked perfect