High FPS causes client to stutter randomly

Hey everyone,

I’ve set up a smooth crouch system using a timeline that’s all replicated. The crouch works fine on the client and server most of the time but once in a while or if I press crouch quickly the client will stutter. After a few days of testing I noticed that if the FPS is uncapped the issue happens, but if I cap it to 60 or 120 it stops. Could this be the timeline? I’ve heard timelines are frame rate dependent so maybe that could be causing some sync problems. I can also see network corrections when the stutter happens as well using p.netshowcorrections 1.

Thanks.

For something like this, you shouldn’t be replicating the timeline, only the event. So replicate just the crouch event, then have all clients run the timeline separately.

Yup, I think that’s fixed it. Been stuck on this issue for a week, but a simple thing like that fixes it aha. Thank you.

1 Like