HELP! UI missing

Started by espk, November 01, 2020, 09:19:22 PM

Previous topic - Next topic

espk

Hello everyone!

So, i love mods and use a ton of them. Never had any major issue, but i guess it was luck, because i don't know anything about coding or fixing issues with the game.

Was running 1.2 just fine and today i started having this weird issue when my UI just disappears mid game. Can't figure out whats going on and which mod is the reason.

Can anyone help a fellow colonist? Ty a lot!

The log:
https://git.io/JT5kD

Canute

#1
Hi,
could you look what the pawns Peetoom and Jattington are special.
Race , equipment or what is he currnt doing. I think since you don't have an UI it will hard to investigate.
But you mention it just appear today, so it is either from a mod update (if you use workshop) or some newly build workbench/furniture or appareal they you just crafted.

Just a hint for the the next time.
When you activate mods, check the log window if any error's show up after activation. Better don't use such mods.
At last that reduce the chance that such problems appear later.
And don't forget to report these error's to the mod author.

espk

Quote from: Canute on November 02, 2020, 02:53:41 AM
Hi,
could you look what the pawns Peetoom and Jattington are special.
Race , equipment or what is he currnt doing. I think since you don't have an UI it will hard to investigate.
But you mention it just appear today, so it is either from a mod update (if you use workshop) or some newly build workbench/furniture or appareal they you just crafted.

Just a hint for the the next time.
When you activate mods, check the log window if any error's show up after activation. Better don't use such mods.
At last that reduce the chance that such problems appear later.
And don't forget to report these error's to the mod author.

Ty for the tips! I manage to figure out that any pawn can cause the error, with this msg logged:

Exception drawing ThingOverlay for Nussman: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.PawnCollisionTweenerUtility.GetPawnsStandingAtOrAboutToStandAt (Verse.IntVec3 at, Verse.Map map, System.Int32& pawnsCount, System.Int32& pawnsWithLowerIdCount, System.Boolean& forPawnFound, Verse.Pawn forPawn) [0x00078] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.PawnCollisionTweenerUtility.PawnCollisionPosOffsetFor (Verse.Pawn pawn) [0x00087] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.PawnTweener.TweenedPosRoot () [0x00067] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.PawnTweener.ResetTweenedPosToRoot () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.PawnTweener.PreDrawPosCalculation () [0x0001d] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.Pawn_DrawTracker.get_DrawPos () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.Pawn.get_DrawPos () [0x00006] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.GenMapUI.LabelDrawPosFor (Verse.Thing thing, System.Single worldOffsetZ) [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
  at (wrapper dynamic-method) Verse.PawnUIOverlay.Verse.PawnUIOverlay.DrawPawnGUIOverlay_Patch4(Verse.PawnUIOverlay)
  at Verse.Pawn.DrawGUIOverlay () [0x00006] in <d72310b4d8f64d25aee502792b58549f>:0
  at (wrapper dynamic-method) Verse.ThingOverlays.Verse.ThingOverlays.ThingOverlaysOnGUI_Patch1(Verse.ThingOverlays)
Verse.Log:Verse.Log.Error_Patch1(String, Boolean)
Verse.ThingOverlays:Verse.ThingOverlays.ThingOverlaysOnGUI_Patch1(ThingOverlays)
RimWorld.MapInterface:RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch2(MapInterface)
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:Verse.Root.OnGUI_Patch1(Root)


But i can't figure out what's causing that. "Verse.PawnCollisionTweenerUtility.GetPawnsStandingAtOrAboutToStandAt" ?