RimWorld

RimWorld

Dubs Mint Minimap
ianmplinares 30 Sep, 2020 @ 4:34pm
Error that caused game freezing issues
Got this error that spammed a buch of other errors and started freezing the game...not sure if the cause was the minimap. There was trader caravan, they fought a wild boomalope that exploded and caused a fire....maybe there was too much info, I dont know.

Exception filling window for DubsMintMinimap.MainTabWindow_MiniMap: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.PawnCollisionTweenerUtility.CanGoDirectlyToNextCell (Verse.Pawn pawn) [0x0008c] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.PawnCollisionTweenerUtility.PawnCollisionPosOffsetFor (Verse.Pawn pawn) [0x000bd] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.PawnTweener.TweenedPosRoot () [0x00067] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.PawnTweener.PreDrawPosCalculation () [0x00047] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.Pawn_DrawTracker.get_DrawPos () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.Pawn.get_DrawPos () [0x00006] in <d72310b4d8f64d25aee502792b58549f>:0
at DubsMintMinimap.MainTabWindow_MiniMap.DrawAllPawns (UnityEngine.Rect radarRect) [0x003fc] in <d02111450a7040a7820b5a27984139ad>:0
at DubsMintMinimap.MainTabWindow_MiniMap.Minimap (UnityEngine.Rect inRect) [0x0062c] in <d02111450a7040a7820b5a27984139ad>:0
at DubsMintMinimap.MainTabWindow_MiniMap.DoWindowContents (UnityEngine.Rect inRect) [0x0054b] in <d02111450a7040a7820b5a27984139ad>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x00165] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Verse.Log.Error_Patch1(String, Boolean)
Verse.Window:InnerWindowOnGUI(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
< >
Showing 1-1 of 1 comments
Dubwise  [developer] 30 Sep, 2020 @ 4:44pm 
ok so my minimap is trying to get a pawns draw position, pretty basic command thats required for a pawn to be drawn on the map, but it seems one of those pawns is throwing a null ref on CanGoDirectlyToNextCell, no idea why, shouldn't ever happen, never had this reported before either, so check the rest of your log for exceptions and fix those first
Last edited by Dubwise; 30 Sep, 2020 @ 4:45pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50