You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The backtrace below is showing that the LocalTargetInfo constructor is called with nonsense coordinate 3500,3500,3500 (I play at 500x500).
XXX:(3500, 3500, 3500): at System.Environment.get_StackTrace () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at My.LocalTargetInfo_Patch.ctor (Verse.IntVec3 cell) [0x00000] in <15a31fa04a01461bb0ed699676d7f47f>:0
at MonoMod.Utils.DynamicMethodDefinition.Verse.LocalTargetInfo..ctor_Patch1 (Verse.LocalTargetInfo& , Verse.IntVec3 ) [0x00000] in <abec11463bc04855a5322a0a868aeb22>:0
at Verse.LocalTargetInfo.op_Implicit (Verse.IntVec3 c) [0x00000] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at CommonSense.JobDriver_PrepareToIngestToils_ToolUser_CommonSensePatch+<>c__DisplayClass5_0.<MakeCleanToil>b__1 () [0x00000] in <f5621b123de143849444e3188b3b6896>:0
at MonoMod.Utils.DynamicMethodDefinition.Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver ) [0x00000] in <abec11463bc04855a5322a0a868aeb22>:0
at Verse.AI.Pawn_JobTracker.JobTrackerTick () [0x00000] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at Verse.Pawn.Tick () [0x00000] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at MonoMod.Utils.DynamicMethodDefinition.Verse.TickList.Tick_Patch2 (Verse.TickList ) [0x00000] in <abec11463bc04855a5322a0a868aeb22>:0
at Verse.TickManager.DoSingleTick () [0x00000] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at Verse.TickManager.TickManagerUpdate () [0x00000] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at Verse.Game.UpdatePlay () [0x00000] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at Verse.Root_Play.Update () [0x00000] in <81215c6a48b24e2f8a72b10ea3122c60>:0
Such coordinates break allowed areas switching, e.g. when using Better Pawn Control.
Root level exception in OnGUI(): System.IndexOutOfRangeException: Index was outside the bounds of the array.
[Ref 9E067E92]
at Verse.Area.get_Item (Verse.IntVec3 c) [0x00017] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at Verse.AI.Job.IsTargetOutsideArea (Verse.LocalTargetInfo target, Verse.Area zone) [0x00011] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at Verse.AI.Job.AnyTargetOutsideArea (Verse.Area zone) [0x00049] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at RimWorld.Pawn_PlayerSettings.set_AreaRestrictionInPawnCurrentMap (Verse.Area value) [0x00099] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at BetterPawnControl.ScheduleManager.LoadState (System.Collections.Generic.List`1[T] links, System.Collections.Generic.List`1[T] pawns, BetterPawnControl.Policy poli
cy) [0x00082] in <fc7d499c51a742aa8992be7c51b5ed2c>:0
at BetterPawnControl.MainTabWindow_PawnTable_OnPostOpen.Postfix (RimWorld.MainTabWindow_PawnTable __instance) [0x0005e] in <fc7d499c51a742aa8992be7c51b5ed2c>:0
at RimWorld.MainTabWindow_PawnTable.PostOpen () [0x00023] in <81215c6a48b24e2f8a72b10ea3122c60>:0
- POSTFIX VouLT.BetterPawnControl: Void BetterPawnControl.MainTabWindow_PawnTable_OnPostOpen:Postfix(MainTabWindow_PawnTable __instance)
at Verse.WindowStack.Add (Verse.Window window) [0x0003a] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at RimWorld.MainTabsRoot.ToggleTab (RimWorld.MainButtonDef newTab, System.Boolean playSound) [0x0006b] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at RimWorld.MainButtonWorker_ToggleTab.Activate () [0x00005] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at RimWorld.MainButtonWorker.InterfaceTryActivate () [0x0008d] in <81215c6a48b24e2f8a72b10ea3122c60>:0
at RimWorld.MainButtonsRoot.MainButtonsOnGUI () [0x00089] in <81215c6a48b24e2f8a72b10ea3122c60>:0
- POSTFIX llunak.ShortcutsForOrdersMenu: Void ShortcutForOrdersMenu.MainButtonsRoot_Patch:MainButtonsOnGUI()
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0003a] in <81215c6a48b24e2f8a72b10ea3122c60>:0
- POSTFIX net.pardeike.rimworld.mod.shortcuts: Void Shortcuts.ShortcutsMain+Patch_UIRoot_Play_UIRootOnGUI:Postfix()
- POSTFIX rimworld.chais.custommusic: Void CustomMusic.HarmonyPatches:UIRootOnGUI_Prefix(UIRoot_Play __instance)
at Verse.Root.OnGUI () [0x00046] in <81215c6a48b24e2f8a72b10ea3122c60>:0
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered()
The text was updated successfully, but these errors were encountered:
The backtrace below is showing that the LocalTargetInfo constructor is called with nonsense coordinate 3500,3500,3500 (I play at 500x500).
Such coordinates break allowed areas switching, e.g. when using Better Pawn Control.
The text was updated successfully, but these errors were encountered: