RimWorld

RimWorld

What Map Is It Anyway?
Error with Colony group bar
Got an error
Ui is flickering when hovering mouse over event messages while pawn is hidden from colony bar via Colony groups (for example I removed refugees from bar because I don't care about them). Restoring pawn to colony bar fixes it but still pretty annoying.

Root level exception in OnGUI(): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
[Ref E68890D2]
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at WhatMapIsItAnyway.ColonistBarRef.GroupFrameRect (System.Int32 group) [0x00106] in <6955fa8dc4ab480ca38e2603a2d139fe>:0
- POSTFIX rimworld.sabership.whatmapisitanyway: Void WhatMapIsItAnyway.TacticalGroupFrameRectPatch:Postfix(Int32 group, Rect& __result)
at WhatMapIsItAnyway.ColonistBarHighlighter.HighlightMap (Verse.Map map) [0x00067] in <6955fa8dc4ab480ca38e2603a2d139fe>:0
at WhatMapIsItAnyway.ColonistBarHighlighter.Postfix () [0x00018] in <6955fa8dc4ab480ca38e2603a2d139fe>:0
at RimWorld.ColonistBar.ColonistBarOnGUI () [0x00301] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX Troy_Alias.TacticalGroups: Boolean TacticalGroups.HarmonyPatches:ColonistBarOnGUI()
- POSTFIX rimworld.sabership.whatmapisitanyway: Void WhatMapIsItAnyway.ColonistBarHighlighter:Postfix()
- POSTFIX ShipInteriorMod2: Void SaveOurShip2.ShipCombatOnGUI:Postfix(ColonistBar __instance)
at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () [0x0004d] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX Dubwise.DubsPaintShop: Void DubRoss.Harmony_MapInterfaceOnGUI_BeforeMainTabs:Prefix()
- PREFIX GonDragon.UINotIncluded: Void UINotIncluded.MapInterfaceOnGUI_BeforeMainTabsPatch:Prefix()
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00029] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX SmashPhil.SmashTools: Void SmashTools.MainMenuKeyBindHandler:HandleKeyInputs()
- PREFIX Dubwise.PerformanceAnalyzer: Void Analyzer.H_KeyPresses:OnGUI()
- POSTFIX Krkr.RocketMan: Void RocketMan.KeyBinder:OnGUI()
at Verse.Root.OnGUI () [0x00046] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered()
- POSTFIX DevModeHotkey: Void DevModeHotkey.Patch_UIRoot_Play:AddHookForDevHotkey()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch2 (Verse.Root)
< >
Showing 1-4 of 4 comments
Me too with same phenomenon, but happens when I move cursor on alerts.
e.g. "lack of ideology buildings" and "minor break risk"

Root level exception in OnGUI(): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index [Ref 41611BEB] at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at WhatMapIsItAnyway.ColonistBarRef.GroupFrameRect (System.Int32 group) [0x00106] in <6955fa8dc4ab480ca38e2603a2d139fe>:0 - POSTFIX rimworld.sabership.whatmapisitanyway: Void WhatMapIsItAnyway.TacticalGroupFrameRectPatch:Postfix(Int32 group, Rect& __result) at WhatMapIsItAnyway.ColonistBarHighlighter.HighlightMap (Verse.Map map) [0x00067] in <6955fa8dc4ab480ca38e2603a2d139fe>:0 at WhatMapIsItAnyway.ColonistBarHighlighter.Postfix () [0x00018] in <6955fa8dc4ab480ca38e2603a2d139fe>:0 at RimWorld.ColonistBar.ColonistBarOnGUI () [0x00301] in <69945a8ed6c540cf90b578de735e0605>:0 - PREFIX Troy_Alias.TacticalGroups: Boolean TacticalGroups.HarmonyPatches:ColonistBarOnGUI() - POSTFIX rimworld.sabership.whatmapisitanyway: Void WhatMapIsItAnyway.ColonistBarHighlighter:Postfix() at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () [0x0004d] in <69945a8ed6c540cf90b578de735e0605>:0 - PREFIX GonDragon.UINotIncluded: Void UINotIncluded.MapInterfaceOnGUI_BeforeMainTabsPatch:Prefix() - PREFIX BorderOnPause: Void BorderOnPause.Patch.RimWorld_MapInterface_MapInterfaceOnGUI_BeforeMainTabs:Prefix() at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00024] in <69945a8ed6c540cf90b578de735e0605>:0 - PREFIX SmashPhil.SmashTools: Void SmashTools.MainMenuKeyBindHandler:HandleKeyInputs() - POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.UIRoot_Play_UIRootOnGUI_Patch:Postfix() - POSTFIX Krkr.RocketMan: Void RocketMan.KeyBinder:OnGUI() at Verse.Root.OnGUI () [0x00046] in <69945a8ed6c540cf90b578de735e0605>:0 - POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered() - POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.Root_OnGUI_Patch:Postfix() - POSTFIX DevModeHotkey: Void DevModeHotkey.Patch_UIRoot_Play:AddHookForDevHotkey() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch3 (Verse.Root)
and if these two UI area are collided, that [colony groups - work - send caravan] button and colonist bar, cause instant jump back from world caravan way point setting interface
SaberShip  [developer] Feb 24 @ 8:04pm 
@Gangstantin

Originally posted by Gangstantin:
Got an error
Ui is flickering when hovering mouse over event messages while pawn is hidden from colony bar via Colony groups (for example I removed refugees from bar because I don't care about them). Restoring pawn to colony bar fixes it but still pretty annoying.

I now have The Royalty DLC with refugees to test this.

Just double checking, you have [LTO] Colony Groups Mod installed?
Lastly, how is it that you are removing/hiding refugees from the colonist bar?
Last edited by SaberShip; Feb 24 @ 8:04pm
SaberShip  [developer] Feb 27 @ 7:30pm 
@Gangstantin
Figured out the issue and updated the mod with a fix!
< >
Showing 1-4 of 4 comments
Per page: 1530 50