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.
Viimeisin muokkaaja on Men.Tok.So.Shore; 3.10.2021 klo 22.01
< >
Näytetään 1-2 / 2 kommentista
Crooted 13.10.2021 klo 12.09 
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?
Fix? Where? I seek thee! I thou ask for guidance!
< >
Näytetään 1-2 / 2 kommentista
Sivua kohden: 1530 50