Unstable build: Can't trade with map visitors

Started by Rimpressive, October 05, 2022, 06:18:53 PM

Previous topic - Next topic

Rimpressive

For reference this is an unmodded but all expacs installed game. EDIT: Just want to add that I had the same effect on a royal tribute trader as well.

JobDriver threw exception in toil MakeNewToils's initAction for pawn Roo driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn (Job_422432) A=Thing_Human63609)
System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Pawn_RelationsTracker.GetFirstDirectRelationPawn (RimWorld.PawnRelationDef def, System.Predicate`1[T] predicate) [0x00000] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at MechanitorUtility.GetOverseer (Verse.Pawn pawn) [0x0000b] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.CanStack (Verse.Thing thing) [0x0005c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.TransferAsOne (Verse.Thing a, Verse.Thing b, RimWorld.TransferAsOneMode mode) [0x00042] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.TradeableMatching (Verse.Thing thing, System.Collections.Generic.List`1[T] tradeables) [0x00030] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.AddToTradeables (Verse.Thing t, RimWorld.Transactor trans) [0x00000] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.AddAllTradeables () [0x0009d] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.Reset () [0x00016] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal..ctor () [0x0001c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.Dialog_Trade..ctor (Verse.Pawn playerNegotiator, RimWorld.ITrader trader, System.Boolean giftsOnly) [0x0004d] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <fe9d5c25d0714244a910780b80daa0e2>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
Verse.AI.Pawn_PathFollower:TryEnterNextPathCell ()
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

JobDriver threw exception in toil MakeNewToils's initAction for pawn Roo driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn (Job_423167) A=Thing_Human63609)
System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Pawn_RelationsTracker.GetFirstDirectRelationPawn (RimWorld.PawnRelationDef def, System.Predicate`1[T] predicate) [0x00000] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at MechanitorUtility.GetOverseer (Verse.Pawn pawn) [0x0000b] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.CanStack (Verse.Thing thing) [0x0005c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.TransferAsOne (Verse.Thing a, Verse.Thing b, RimWorld.TransferAsOneMode mode) [0x00042] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.TradeableMatching (Verse.Thing thing, System.Collections.Generic.List`1[T] tradeables) [0x00030] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.AddToTradeables (Verse.Thing t, RimWorld.Transactor trans) [0x00000] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.AddAllTradeables () [0x0009d] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.Reset () [0x00016] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal..ctor () [0x0001c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.Dialog_Trade..ctor (Verse.Pawn playerNegotiator, RimWorld.ITrader trader, System.Boolean giftsOnly) [0x0004d] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <fe9d5c25d0714244a910780b80daa0e2>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
Verse.AI.Pawn_PathFollower:TryEnterNextPathCell ()
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

JobDriver threw exception in toil MakeNewToils's initAction for pawn Roo driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn (Job_423578) A=Thing_Human63609)
System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Pawn_RelationsTracker.GetFirstDirectRelationPawn (RimWorld.PawnRelationDef def, System.Predicate`1[T] predicate) [0x00000] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at MechanitorUtility.GetOverseer (Verse.Pawn pawn) [0x0000b] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.CanStack (Verse.Thing thing) [0x0005c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.TransferAsOne (Verse.Thing a, Verse.Thing b, RimWorld.TransferAsOneMode mode) [0x00042] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.TradeableMatching (Verse.Thing thing, System.Collections.Generic.List`1[T] tradeables) [0x00030] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.AddToTradeables (Verse.Thing t, RimWorld.Transactor trans) [0x00000] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.AddAllTradeables () [0x0009d] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.Reset () [0x00016] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal..ctor () [0x0001c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.Dialog_Trade..ctor (Verse.Pawn playerNegotiator, RimWorld.ITrader trader, System.Boolean giftsOnly) [0x0004d] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <fe9d5c25d0714244a910780b80daa0e2>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
Verse.AI.Pawn_PathFollower:TryEnterNextPathCell ()
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

JobDriver threw exception in toil MakeNewToils's initAction for pawn Roo driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn (Job_423841) A=Thing_Human63609)
System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Pawn_RelationsTracker.GetFirstDirectRelationPawn (RimWorld.PawnRelationDef def, System.Predicate`1[T] predicate) [0x00000] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at MechanitorUtility.GetOverseer (Verse.Pawn pawn) [0x0000b] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.CanStack (Verse.Thing thing) [0x0005c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.TransferAsOne (Verse.Thing a, Verse.Thing b, RimWorld.TransferAsOneMode mode) [0x00042] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TransferableUtility.TradeableMatching (Verse.Thing thing, System.Collections.Generic.List`1[T] tradeables) [0x00030] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.AddToTradeables (Verse.Thing t, RimWorld.Transactor trans) [0x00000] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.AddAllTradeables () [0x0009d] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal.Reset () [0x00016] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeDeal..ctor () [0x0001c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.Dialog_Trade..ctor (Verse.Pawn playerNegotiator, RimWorld.ITrader trader, System.Boolean giftsOnly) [0x0004d] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <fe9d5c25d0714244a910780b80daa0e2>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
Verse.AI.Pawn_PathFollower:TryEnterNextPathCell ()
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

DrEnzyme

Adding my log and save game for this bug too.

DrEnzyme