# Chaos: Particles going to sleep always trigger a resim. 

**URL:** <https://forums.unrealengine.com/t/chaos-particles-going-to-sleep-always-trigger-a-resim/2873008>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 22, 2026, 7:16pm UTC](https://forums.unrealengine.com/t/chaos-particles-going-to-sleep-always-trigger-a-resim/2873008 "2026-10-22T19:16:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 22, 2026, 7:16pm UTC](https://forums.unrealengine.com/t/chaos-particles-going-to-sleep-always-trigger-a-resim/2873008/1 "2026-10-22T19:16:08Z")

</div>

While testing resimulation recently, I noticed in CVD that when a particle switches to sleep state, it always starts a resim on the client. I believe I’ve narrowed the issue down to the following:

FPhysicsReplicationCache caches particle state during PostSolve(), and saves those states as the starting state for the NEXT solver frame:

```auto
	// +1 Because we cache this in PostSolve which has the end result of the physics solve which is equal to the starting state of next physics frame which is what this state correspond to
	AsyncOutput.SolverFrame = RigidSolver->GetCurrentFrame() + 1;

```

PostSolve however runs BEFORE GetIslandManager().UpdateSleep(), so if a particle is put to sleep on that frame, it actually replicates to clients as being awake on that frame instead.

The cached state for N+1 has the body awake, the client compares with it’s own state at N+1 which is asleep, and this triggers a resim. This occurs for any sleeping particle.

Setting **np2.Resim.ResimulateSleepDesync** to zero fixes the resims, but as the comment explains particles can desync if they wake on the server but not the client.

I’ve made a local fix but it’s quite invasive, and not something I expect to be accepted through PR. I imagine Epic would want to solve this their own way. My current recommendation would be a later TSimCallback step post island update.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![geoffstacey\_work](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@geoffstacey\_work](https://forums.unrealengine.com/u/geoffstacey_work)\
**Post date:** [October 26, 2026, 10:18am UTC](https://forums.unrealengine.com/t/chaos-particles-going-to-sleep-always-trigger-a-resim/2873008/2 "2026-10-26T10:18:48Z")

</div>

Hi James,

That is interesting. I’d assume this is a case of where the sleep state is being ‘forced’ since otherwise there is virtually no movement and therefore nothing which would trigger a resim event?

Can I check I’ve understood this correctly - if so, what is the use case for this sleep event?

Best

Geoff

[Attachment Removed]
