cseelhoff / RimThreaded

RimThreaded is a RimWorld mod designed to enable RimWorld to utilize multiple threads.
MIT License
117 stars 21 forks source link

`Rhombi started 10 jobs in 10 ticks. List: (Wait_MaintainPosture (Job_1042537)) , (Harvest (Job_1042548))` #700

Open sealvessel opened 2 years ago

sealvessel commented 2 years ago

Describe the bug

Pawns started 10 jobs in one tick

Steps to reproduce the behavior (VERY IMPORTANT)

  1. Plant stuff with Smart Farming within artificial ecosystems
  2. See error

Error Logs

Rhombi started 10 jobs in 10 ticks. List: (Wait_MaintainPosture (Job_1042537)) , (Harvest (Job_1042548)) (Wait_MaintainPosture (Job_1042549)) , (Harvest (Job_1042560)) (Wait_MaintainPosture (Job_1042561)) , (Harvest (Job_1042572)) (Wait_MaintainPosture (Job_1042573)) , (Harvest (Job_1042584)) (Wait_MaintainPosture (Job_1042585)) , (Harvest (Job_1042600)) (Wait_MaintainPosture (Job_1042601)) curDriver=JobDriver_WaitMaintainPosture (toilIndex=0) curJob=(Wait_MaintainPosture (Job_1042601)) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string) Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver) Verse.AI.Pawn_JobTracker:FinalizeTick () Verse.AI.Pawn_JobTracker:JobTrackerTick () (wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn) RimThreaded.TickList_Patch:NormalThingTick () RimThreaded.RimThreaded:ExecuteTicks () RimThreaded.RimThreaded:ProcessTicks (RimThreaded.RimThreaded/ThreadInfo) RimThreaded.RimThreaded:InitializeThread (object) 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 (object)

HugsLib log

https://gist.github.com/57c3ff6089ce92cd5f658240fbb5802f

Save file

!!! Please add a save file where the issue occurs to speed up testing and fixing of the issue !!!

Screenshots

image

Mod list (Preferably a RimPy compatible list.)

sealvessel commented 2 years ago

This also happens on robots and they keep going back and forth between deep storage units. Unfortunately I forgot to get a log.