RimWorld

RimWorld

Perfect Pathfinding (1.5 Update)
This topic has been locked
Error when entering the game:
Error in static constructor of PerfectPathing.HarmonyPatches: System.TypeInitializationException: The type initializer for 'PerfectPathing.HarmonyPatches' threw an exception. ---> System.NullReferenceException: Null method for PerfectPathingPatch

[Ref 1E9C31F5]

  at HarmonyLib.PatchProcessor.Patch () [0x0001d] 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 

<0x17d33016040 + 0x0012a> <unknown method>

   --- End of inner exception stack trace ---

[Ref 414DB11F]

(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 <fcfab19af5d14a608a65ebd77f29482f>:0 

    - POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix()

UnityEngine.StackTraceUtility:ExtractStackTrace ()

Verse.Log:Error (string)

(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch1 ()

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 ()
< >
Showing 1-2 of 2 comments
Mantazzo  [developer] 13 Jul @ 4:23am 
Yeah I see, the game wasn't throwing any errors as I was uploading to the workshop, now it is throwing this error on launch.
I'll try to analyze what's the problem here.
Mantazzo  [developer] 13 Jul @ 6:20am 
UPDATE: While I managed to fix this specific error, it turns out this mod requires a lot more fixing as a lot of stuff was replaced/removed/moved regarding the Environmental Patches. As this is beyond my scope for fixing, I won't provide further version updates.


So, tl;dr - while updating can be done, I'm not qualified enough to do so, as this would essentially require a mod rewrite.
Last edited by Mantazzo; 13 Jul @ 8:21am
< >
Showing 1-2 of 2 comments
Per page: 1530 50