[1.3.3117 + Ideology] Major UI bug in social tab from world caravan

Started by lazyfulness, September 29, 2021, 03:34:45 AM

Previous topic - Next topic

lazyfulness

From the world screen, clicking on a caravan and then clicking the "Social" tab will constantly throw errors:

Debug Log:
RimWorld 1.3.3117 rev669
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
RimWorld.VersionControl:LogVersionNumber ()
Verse.Root:CheckGlobalInit ()
Verse.Root:Start ()
Verse.Root_Entry:Start ()

Initializing new game with mods:
  - Ludeon.RimWorld
  - Ludeon.RimWorld.Royalty
  - Ludeon.RimWorld.Ideology
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
Verse.Game:InitNewGame ()
Verse.Root_Play/<>c:<Start>b__1_2 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

Exception filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.RitualTargetFilter_AltarOrIdeogram+<CandidateBuildings>d__4.MoveNext () [0x0006f] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.RitualTargetFilter_Altar.BestTarget (Verse.TargetInfo initiator, Verse.TargetInfo selectedTarget) [0x00098] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.SocialCardUtility.DrawPawnRoleSelection (Verse.Pawn pawn, UnityEngine.Rect rect) [0x000af] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.SocialCardUtility.DrawSocialCard (UnityEngine.Rect rect, Verse.Pawn pawn) [0x00105] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.Planet.WITab_Caravan_Social+<>c__DisplayClass15_1.<ExtraOnGUI>b__0 () [0x0001e] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Reached max messages limit. Stopping logging to avoid spam.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
Verse.Log:Notify_MessageReceivedThreadedInternal (string,string,UnityEngine.LogType)
UnityEngine.Application:CallLogCallback (string,string,UnityEngine.LogType,bool)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Exception filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.RitualTargetFilter_AltarOrIdeogram+<CandidateBuildings>d__4.MoveNext () [0x0006f] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.RitualTargetFilter_Altar.BestTarget (Verse.TargetInfo initiator, Verse.TargetInfo selectedTarget) [0x00098] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.SocialCardUtility.DrawPawnRoleSelection (Verse.Pawn pawn, UnityEngine.Rect rect) [0x000af] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.SocialCardUtility.DrawSocialCard (UnityEngine.Rect rect, Verse.Pawn pawn) [0x00105] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.Planet.WITab_Caravan_Social+<>c__DisplayClass15_1.<ExtraOnGUI>b__0 () [0x0001e] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)


Exception Detail:
Exception filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.RitualTargetFilter_AltarOrIdeogram+<CandidateBuildings>d__4.MoveNext () [0x0006f] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.RitualTargetFilter_Altar.BestTarget (Verse.TargetInfo initiator, Verse.TargetInfo selectedTarget) [0x00098] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.SocialCardUtility.DrawPawnRoleSelection (Verse.Pawn pawn, UnityEngine.Rect rect) [0x000af] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.SocialCardUtility.DrawSocialCard (UnityEngine.Rect rect, Verse.Pawn pawn) [0x00105] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at RimWorld.Planet.WITab_Caravan_Social+<>c__DisplayClass15_1.<ExtraOnGUI>b__0 () [0x0001e] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)


From there, any of the buttons: "Click to open a tab with more details" "View information" and "Banish" cause UI bug instead of showing the information/confirmation.

This only happens with the ideology DLC enabled. I have tried reinstalling rimworld and I still get this error.

Attached a save where I created a colony, then used a debug function to spawn a new random caravan. Checking the social tab of this caravan causes issues. I've tried this with a "natural" caravan and the result is the same.

ScottWilco

Yes! Thought I was going mad. Glad it's not just me. Definitely not a mod conflict.

weekendwarrior