Looks like 1.14b still didn't fix the issues around pawns and IsGuest. Following the same steps to reproduce (only Core, latest CCL, and latest Hospitality with new world), these exceptions are still raised constantly for each colonist once he spawns:
I found your fix in the ThoughtWorker_Expectations class:
That certainly looks like it should work... Maybe something missed this change in your build process?
Code Select
Exception ticking Jagerbomb: System.NullReferenceException: Object reference not set to an instance of an object
at Hospitality.GuestUtility.IsGuest (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at Hospitality.ThoughtWorker_Expectations.CurrentStateInternal (Verse.Pawn p) [0x00000] in <filename unknown>:0
at RimWorld.ThoughtWorker.CurrentState (Verse.Pawn p) [0x00000] in <filename unknown>:0
at RimWorld.SituationalThoughtHandler.TryCreateSituationalThought (RimWorld.ThoughtDef def) [0x00000] in <filename unknown>:0
at RimWorld.SituationalThoughtHandler.CheckRecalculateSituationalThoughtsAffectingMoodState () [0x00000] in <filename unknown>:0
at RimWorld.SituationalThoughtHandler.get_SituationalThoughtsAffectingMood () [0x00000] in <filename unknown>:0
at RimWorld.ThoughtHandler.get_Thoughts () [0x00000] in <filename unknown>:0
at RimWorld.ThoughtHandler.DistinctThoughtGroups () [0x00000] in <filename unknown>:0
at RimWorld.ThoughtHandler.TotalMood () [0x00000] in <filename unknown>:0
at RimWorld.Need_Mood.get_CurInstantLevel () [0x00000] in <filename unknown>:0
at RimWorld.Need_Seeker.NeedInterval () [0x00000] in <filename unknown>:0
at RimWorld.Need_Mood.NeedInterval () [0x00000] in <filename unknown>:0
at RimWorld.Pawn_NeedsTracker.NeedsTrackerTick () [0x00000] in <filename unknown>:0
at Verse.Pawn.Tick () [0x00000] in <filename unknown>:0
at Verse.TickList.Tick () [0x00000] in <filename unknown>:0
I found your fix in the ThoughtWorker_Expectations class:
Code Select
if(p==null) return ThoughtState.Inactive;
That certainly looks like it should work... Maybe something missed this change in your build process?