Replication problems

Hello!
I use Character Movement Component for my multiplayer characters. There is a “Speed” (which they update every frame from pawn’s velocity) variable inside characters animation blueprint by default (taken from 3rd person template). There inside my state machine, I have a run state and it uses 1D Blendspace, which takes that “Speed” variable as an argument. It worked ok until I expanded maximum speed characters can get by including sprint feature. My sprint works inside character BP by changing maximum speed variable of the Character Movement Component. It gets replicated fine, but then I discovered that my clients don’t change animation when they achieve high speed, though server can see that they do, and they can see the server does so when it is sprinting. They can even see that on other clients, but themselves. For everyone else, client’s animation changes, but for this client, his animation stays the same. I decided to print out that “Speed” variable and found out that when print function prints it, it does it with “Server” and “Client” titles (see screenshots.). Wierd thing is that there are 2 servers and 2 clients, while only one of each present. Funny enough, when I sprint on the server, “Speed” variable for one of the servers changes along with one of clients variables and when I sprint on the client the opposite thing happens. To make it clear I don’t replicate this “Speed” variable. By the way maximum speed is 1000 while sprinting and 600 while not using sprint. The game has a 1st person perspective, btw.

Here I sprint on the server (left feed):

On the screenshot above server’s gun disappears (goes down, actually), that is an animation activated with BlendSpace by going on 1000 speed.

And here I sprint on the client (right feed):

Client’s gun was actually glitching, though you obviously can’t see that on the screenshot. Animation was trying to change, and then it was changing back, because, as you can see, client can only go 700 while sprinting, though printed “server” text, says client goes 1000.

Thanks for any help in advance!

The problem got solved. My bad understanding of replication was a problem.