RimWorld

RimWorld

LWM's Deep Storage
[1.3 Unstable branch] Bug - Pawn stuck trying to put more than one stack into storage tile
As people on the comments has said, 1.3 unstable had bonked multi stacking. The problem seems to be a change in ILCode of target delegate in :
LWM.DeepStorage.Patch_StartCarryThing_Delegate::TargetMethod()

Here is the possible relevant error produced:

LWM.Deep_Storage: Could not find Verse.AI.Toils_Haul:c__AnonStorey0 [LWM_DeepStorage][ERR] Failed to apply Harmony patches for LWM.DeepStorage. Exception was: HarmonyLib.HarmonyException: Patching exception in method static System.Reflection.MethodBase LWM.DeepStorage.Patch_StartCarryThing_Delegate::TargetMethod() ---> System.Exception: Method static System.Reflection.MethodBase LWM.DeepStorage.Patch_StartCarryThing_Delegate::TargetMethod() returned an unexpected result: null

Possible Fix:
The ILCode of hidden class created by said delegate that are supposed to be patched by method Patch_StartCarryThing_Delegate::TargetMethod seems to change from "c__DisplayClass1_0" to "c__DisplayClass2_0". Changing said corresponding code seems to fixes this error completely on unstable branch.
Last edited by Men.Tok.So.Shore; Oct 3, 2021 @ 10:01pm
< >
Showing 1-2 of 2 comments
Crooted Oct 13, 2021 @ 12:09pm 
Thanks for looking into this. Could you elaborate a little on your possible fix please? Changing which particular ILCode to what value seemed to fix this for you?
Hollow Void Oct 14, 2021 @ 3:32am 
Fix? Where? I seek thee! I thou ask for guidance!
< >
Showing 1-2 of 2 comments
Per page: 1530 50