Peer to peer client lag

I have created a peer to peer, multiplayer game but for some reason, client movement is laggy and it lags more when there is a weaker connection. Here is a video of what I mean: Lag showcase - YouTube

In the gif below, it shows I’ve set the “character movment” and the player actor itself to replicate and I have also tried updating the “max walk speed” through the server as well. What am I doing wrong?

https://puu.sh/zkdC2/cdacb5d825.gif

https://puu.sh/zkdC2/cdacb5d825.gif

Don’t replicate the character movement component. Do you have the BP set for “replicate movement”? It’s not visible because you’re using a filter.

And don’t replicate the capsule either. Movement is replicated via the “Replicate Movement” option in the actor.

Thanks! This fixed my issue