rwmt / Multiplayer-Compatibility

Compatibility for random mods, you are encouraged to take it into your own mod
MIT License
29 stars 22 forks source link

Vanilla Expanded desyncs on crawling #439

Open twothe opened 1 month ago

twothe commented 1 month ago

If pawns are crawling in 1.5 Vanilla Expanded Framework causes a desync every second. This seems to be related to filth generation.

Trace count: 4598
Trace of first desynced map random state:
0 Tick:2652031 Hash:-1240849754 '6425211 Raccoon375534 Menos's faction 16 845116909492895745 '
at Multiplayer.Client.Desyncs.DeferredStackTracing.Postfix () <0xffffffff>
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.Rand.getValuePatch1 () <0xffffffff>
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.RimWorld.Pawn_FilthTracker.Notify_EnteredNewCell_Patch1 (RimWorld.Pawn_FilthTracker) <0xffffffff>
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower) <0xffffffff>
at Verse.AI.Pawn_PathFollower.PatherTick () <0xffffffff>
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.Pawn.Tick_Patch2 (Verse.Pawn) <0xffffffff>
at Verse.TickList.Tick () <0xffffffff>
at Multiplayer.Client.AsyncTimeComp.Tick () <0xffffffff>
at Multiplayer.Client.TickPatch.TickTickable (Multiplayer.Client.ITickable) <0xffffffff>
at Multiplayer.Client.TickPatch.DoTick (bool&) <0xffffffff>
at Multiplayer.Client.TickPatch.DoUpdate (bool&) <0xffffffff>
at Multiplayer.Client.TickPatch.Prefix () <0xffffffff>
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager) <0xffffffff>
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.Game.UpdatePlay_Patch1 (Verse.Game) <0xffffffff>
at Verse.Root_Play.Update () <0xffffffff>
at (wrapper runtime-invoke) object.runtime_invoke_void__this (object,intptr,intptr,intptr) <0xffffffff>
Lina28011 commented 1 month ago

Same. When someone crawls, desynchronization occurs