# Crouch state not properly replicated by the server when (listen) server is lagging ?

**URL:** <https://forums.unrealengine.com/t/crouch-state-not-properly-replicated-by-the-server-when-listen-server-is-lagging/2516079>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, CPP, Blueprint, question\
**Created:** [May 18, 2025, 4:38am UTC](https://forums.unrealengine.com/t/crouch-state-not-properly-replicated-by-the-server-when-listen-server-is-lagging/2516079 "2025-05-18T04:38:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Killso310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Killso310](https://forums.unrealengine.com/u/Killso310)\
**Post date:** [May 18, 2025, 4:38am UTC](https://forums.unrealengine.com/t/crouch-state-not-properly-replicated-by-the-server-when-listen-server-is-lagging/2516079/1 "2025-05-18T04:38:24Z")

</div>

This is in a packaged build using “clumsy” to simulate lag on the server, I’m using the regular crouch/uncrouch functions that work fine under normal circumstances, but when the server is lagging, it seems to desync completely, this doesn’t happen when the clients themselves lag (client 2 lagging, client 1 and server doesn’t see any desync), we see only the server desyncing if he’s lagging. I’m really not sure how to fix this not having good knowledge of c++, has anyone fixed this in the past or have ideas ?

You can test this in UE using those commands with a listen server:  
Net PktLagVariance=150  
Net PktLoss = 70  
Net PktLag = 70
