RimWorld
LWM's Deep Storage
Red Error on Startup
The Following error appears on startup. Havent had any problems ingame though.

Error in static constructor of LWM.DeepStorage.ModInit: System.TypeInitializationException: The type initializer for 'LWM.DeepStorage.ModInit' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method static UnityEngine.Vector3 RimWorld.GenThing::ItemCenterAt(Verse.Thing thing) ---> System.InvalidProgramException: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.GenThing.ItemCenterAt_Patch0 (Verse.Thing): IL_01df: sub


[Ref 349323CE]
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <8124cc12bdf242eab0a5f7e7edecf387>:0
--- End of inner exception stack trace ---
[Ref C1339E9]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll () [0x0001d] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x1c857a446f0 + 0x00232> <unknown method>
--- End of inner exception stack trace ---
[Ref 8F283330]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
- POSTFIX VanillaTradingExpandedEarly.Mod: Void VanillaTradingExpanded.Initializer:Postfix()
- POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch2 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
< >
1-10 van 10 reacties weergegeven
SP4RTAN  [ontwikkelaar] 24 jul om 3:22 
I'm guessing you're using the old stacking graphic option along with RimFridge.

Go to the RimFridge mod options and enable the "ugly stack appearance" option.
SP4RTAN  [ontwikkelaar] 24 jul om 3:25 
RimFridge uses the same patch as this to make the stacking look nice which causes that error.
SP4RTAN  [ontwikkelaar] 24 jul om 6:43 
If you're not using RimFridge and still getting that error let me know
Laatst bewerkt door SP4RTAN; 24 jul om 6:44
Error in static constructor of LWM.DeepStorage.ModInit: System.TypeInitializationException: The type initializer for 'LWM.DeepStorage.ModInit' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method static UnityEngine.Vector3 RimWorld.GenThing::ItemCenterAt(Verse.Thing thing) ---> System.InvalidProgramException: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.GenThing.ItemCenterAt_Patch0 (Verse.Thing): IL_01df: sub


[Ref 349323CE]
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <8124cc12bdf242eab0a5f7e7edecf387>:0
--- End of inner exception stack trace ---
[Ref CF9C3B57]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll () [0x0001d] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x2c8206e4920 + 0x00232> <unknown method>
--- End of inner exception stack trace ---
[Ref DB3FA4C2]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00025] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

I'm NOT Using RimFridge.
SP4RTAN  [ontwikkelaar] 24 jul om 7:17 
Origineel geplaatst door Leutian Kane:
Error in static constructor of LWM.DeepStorage.ModInit: System.TypeInitializationException: The type initializer for 'LWM.DeepStorage.ModInit' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method static UnityEngine.Vector3 RimWorld.GenThing::ItemCenterAt(Verse.Thing thing) ---> System.InvalidProgramException: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.GenThing.ItemCenterAt_Patch0 (Verse.Thing): IL_01df: sub


[Ref 349323CE]
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <8124cc12bdf242eab0a5f7e7edecf387>:0
--- End of inner exception stack trace ---
[Ref CF9C3B57]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll () [0x0001d] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x2c8206e4920 + 0x00232> <unknown method>
--- End of inner exception stack trace ---
[Ref DB3FA4C2]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00025] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

I'm NOT Using RimFridge.


I knew this error was gonna cause problems lol. Can you post your mod list?
Hey there, im not using rimfridge either.

heres the startup log. Lmk if you need anything else.

https://gist.github.com/HugsLibRecordKeeper/f043640c793746a54f26278a94b431ae
SP4RTAN  [ontwikkelaar] 24 jul om 12:44 
Fixed
Origineel geplaatst door SP4RTAN:
Origineel geplaatst door Leutian Kane:
Error in static constructor of LWM.DeepStorage.ModInit: System.TypeInitializationException: The type initializer for 'LWM.DeepStorage.ModInit' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method static UnityEngine.Vector3 RimWorld.GenThing::ItemCenterAt(Verse.Thing thing) ---> System.InvalidProgramException: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.GenThing.ItemCenterAt_Patch0 (Verse.Thing): IL_01df: sub


[Ref 349323CE]
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <8124cc12bdf242eab0a5f7e7edecf387>:0
--- End of inner exception stack trace ---
[Ref CF9C3B57]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll () [0x0001d] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x2c8206e4920 + 0x00232> <unknown method>
--- End of inner exception stack trace ---
[Ref DB3FA4C2]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00025] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

I'm NOT Using RimFridge.


I knew this error was gonna cause problems lol. Can you post your mod list?
Believe it or not the error had 0 effect on my game at all everything seems to be working fine that i use
Greetings.
After subscribing to the mod, and starting the game at the very beginning, it gives this error.
How can I fix it? Deleting one of the folders does not help, then the console refers to the absence of the deleted folder in the same red line.
Tried loading mod with the same packageId multiple times: LWM.DeepStorage. Ignoring the duplicates.
D:\Steam\steamapps\workshop\content\294100\1617282896
D:\Steam\steamapps\workshop\content\294100\3532608331
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.ModLister:TryAddMod (Verse.ModMetaData)
Verse.ModLister:RebuildModList ()
Verse.ModLister:.cctor ()
Verse.ModsConfig:.cctor ()
Verse.LoadedModManager:InitializeMods ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

There are packs of mods installed past it Vanilla mod packs, Geological Landforms, Map Preview
, RimFridge: Now with Shelves!, Trade UI Revised, Blood Animations, Simple sidearms are installed next to it.
Pick Up And Haul
Laatst bewerkt door Big__Russian__Cat; 10 aug om 0:26
SP4RTAN  [ontwikkelaar] 10 aug om 0:40 
Origineel geplaatst door Big__Russian__Cat:
Greetings.
After subscribing to the mod, and starting the game at the very beginning, it gives this error.
How can I fix it? Deleting one of the folders does not help, then the console refers to the absence of the deleted folder in the same red line.
Tried loading mod with the same packageId multiple times: LWM.DeepStorage. Ignoring the duplicates.
D:\Steam\steamapps\workshop\content\294100\1617282896
D:\Steam\steamapps\workshop\content\294100\3532608331
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.ModLister:TryAddMod (Verse.ModMetaData)
Verse.ModLister:RebuildModList ()
Verse.ModLister:.cctor ()
Verse.ModsConfig:.cctor ()
Verse.LoadedModManager:InitializeMods ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

There are packs of mods installed past it Vanilla mod packs, Geological Landforms, Map Preview
, RimFridge: Now with Shelves!, Trade UI Revised, Blood Animations, Simple sidearms are installed next to it.
Pick Up And Haul

Make sure you've unsubscribed from the original deep storage mod
< >
1-10 van 10 reacties weergegeven
Per pagina: 1530 50