RimWorld

RimWorld

Do Not Avoid Fire
TAWM 11 Aug, 2024 @ 2:35am
Error log
Exception in Verse.AI.ThinkNode_Priority TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 69362DA7]
at DoNotAvoidFire.FindPath_Patch.PathCostForCalcing (Verse.Pawn pawn, System.Int32 cellID, System.Single num14) [0x0000c] in <9bbee27f57094a5791b8f04403efff1b>:0
at Verse.AI.PathFinder.FindPath (Verse.IntVec3 start, Verse.LocalTargetInfo dest, Verse.TraverseParms traverseParms, Verse.AI.PathEndMode peMode, Verse.AI.PathFinderCostTuning tuning) [0x00936] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER Owlchemist.CleanPathfinding: IEnumerable`1 CleanPathfinding.Patch_PathFinder:Transpiler(IEnumerable`1 instructions)
- TRANSPILER AntiHydrogen.DoNotAvoidFire.HarmonyInit: IEnumerable`1 DoNotAvoidFire.FindPath_Patch:FindPath_Transpiler(IEnumerable`1 instructions, ILGenerator generator)
at RimWorld.JobGiver_ShamblerFight.MeleeAttackJob (Verse.Pawn pawn, Verse.Thing enemyTarget) [0x0003c] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at RimWorld.JobGiver_AIFightEnemy.TryGiveJob (Verse.Pawn pawn) [0x00197] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- POSTFIX BM_WeaponSummonMod: Void BM_WeaponSummon.JobGiver_AIFightEnemy_TryGiveJob_Patch:Postfix(Job& __result, Pawn pawn)
- POSTFIX seekiworks_AAAA.HarmonyPatch: Void seekiworks_AllowedAreaAutomaticAdapter.Patch_JobGiver_AIFightEnemy:TryGiveJob_Postfix(Job __result, Pawn pawn)
at RimWorld.JobGiver_ShamblerFight.TryGiveJob (Verse.Pawn pawn) [0x0000f] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00025] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch0 (Verse.AI.ThinkNode_Priority,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Verse.Pawn, Verse.AI.JobIssueParams),Verse.AI.ThinkResult Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch0(Verse.AI.ThinkNode_Priority, Verse.Pawn, Verse.AI.JobIssueParams)> (Verse.AI.ThinkNode_Priority,Verse.AI.ThinkResult&,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.Pawn_JobTracker:DetermineNextJob(Verse.ThinkTreeDef&, System.Boolean),Verse.AI.ThinkResult Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch2(Verse.AI.Pawn_JobTracker, Verse.ThinkTreeDef&, System.Boolean)> (Verse.AI.Pawn_JobTracker,Verse.AI.ThinkResult&,Verse.ThinkTreeDef&,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch5 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)
< >
Showing 1-1 of 1 comments
49C-10 21 Jun @ 3:25am 
Error in static constructor of DoNotAvoidFire.HarmonyInit: System.TypeInitializationException: The type initializer for 'DoNotAvoidFire.HarmonyInit' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method Verse.AI.PawnPath Verse.AI.PathFinder::FindPath(Verse.IntVec3 start, Verse.LocalTargetInfo dest, Verse.TraverseParms traverseParms, Verse.AI.PathEndMode peMode, Verse.AI.PathFinderCostTuning tuning) ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
[Ref F38342D4]
at DoNotAvoidFire.FindPath_Patch+<FindPath_Transpiler>d__0.MoveNext () [0x001b6] in <1eb3f9247cb241e28d08634fabde62ee>:0
at <0x1f511d6ce70 + 0x002c9> <unknown method>
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at HarmonyLib.CodeTranspiler.ConvertToGeneralInstructions (System.Reflection.MethodInfo transpiler, System.Collections.IEnumerable enumerable, System.Collections.Generic.Dictionary2[System.Object,System.Collections.Generic.Dictionary2[System.String,System.Object]]& unassignedValues) [0x0007a] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.CodeTranspiler+<>c__DisplayClass11_0.<GetResult>b__0 (System.Reflection.MethodInfo transpiler) [0x00000] in <abec11463bc04855a5322a0a868aeb22>:0
at System.Collections.Generic.List1[T].ForEach (System.Action1[T] action) [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00020] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List1[T] transpilers, System.Collections.Generic.List1[T] endLabels, System.Boolean& hasReturnCode, System.Boolean& methodEndsInDeadCode) [0x0014d] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List1[T] endLabels, System.Boolean& hasReturnCode, System.Boolean& methodEndsInDeadCode) [0x00000] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00352] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00059] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs1+Job[T] job) [0x000be] in <abec11463bc04855a5322a0a868aeb22>:0
--- End of inner exception stack trace ---
[Ref FBD1A333]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <abec11463bc04855a5322a0a868aeb22>:0
at <0x1f62c488e40 + 0x000b2> <unknown method>
--- End of inner exception stack trace ---
[Ref 67C27A57]
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- 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_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-1 of 1 comments
Per page: 1530 50