RimWorld

RimWorld

Off-Map Caravan Loading
1.6 - Error logs
Good time of day!

I know 1.6 just came out and you have a life outside of the game, but I was wondering if you'd be able to get this mod working in 1.6, pretty please? Because of the size of caravans I tend to use and the 'known issue' where if a meal that was going to get packed gets reserved by another pawn the whole thing locks up, I've found this mod pretty much a requirement for my play style.

And just like your intended design, I like the balance this provides vs "Send Instantly" stuff.


Current behavior with the 1.5 version installed:
When I form a caravan with the mod installed, it... Pretty much doesn't do anything. Pawns form a caravan using the old logic, carting everything to one spot then wandering off the map, rather than everything teleporting off map and the loading delay.

When accessing the mod option menu, it opens to just a blank window with no options.



I'm not sure what information, if any, I can help provide to try and get this working, but here's the log error I get when launching the game with this mod, Harmony, and the hugslab temp update as the only mods I have active.


Error in static constructor of OffMapCaravanLoading.Patches: System.TypeInitializationException: The type initializer for 'OffMapCaravanLoading.Patches' threw an exception. ---> System.InvalidProgramException: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.Planet.WorldSelector.AutoOrderToTile_Patch1 (RimWorld.Planet.WorldSelector,RimWorld.Planet.Caravan,RimWorld.Planet.PlanetTile): IL_001a: call 0x00000001


[Ref 6BD612A0]
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x0002a] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x18b7537d490 + 0x0063a> <unknown method>
--- End of inner exception stack trace ---
[Ref 57F52F1C]
(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 <fcfab19af5d14a608a65ebd77f29482f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (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 ()



If there is some other logging data you need to help, please let me know where / how / ect and I'll try and grab it for you.

Thank you for this fantastic mod. It really is a core part of my enjoyment of the game.