cseelhoff / RimThreaded

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

Pawns Intermittently Idling #748

Open MiningInMySleep opened 2 years ago

MiningInMySleep commented 2 years ago

Developer To Do Notes:

Non-Vanilla Bug Report

Describe the bug

Initial pawn randomly wanders instead of fully completing tasks. For example, will plant one patch in hydroponics but then wander immediately after. Will go hunting but along the way start to wander instead.

Steps to reproduce the behavior (VERY IMPORTANT)

  1. Play normally. Might be after getting another colonist? The issue didn't really present itself in the early-game (when colonist was solo).

Error Logs ?

RimWorld.WorkGiver_DoBill provided target Thing_ElectricStove33029 but yielded no actual job for pawn Skye. The CanGiveJob and JobOnX methods may not be synchronized.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
RimThreaded.JobGiver_Work_Patch:TryIssueJobPackage (RimWorld.JobGiver_Work,Verse.AI.ThinkResult&,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) RimWorld.JobGiver_Work:RimWorld.JobGiver_Work.TryIssueJobPackage_Patch1 (RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) Verse.AI.ThinkNode_PrioritySorter:Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage_Patch0 (Verse.AI.ThinkNode_PrioritySorter,Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
RimThreaded.Pawn_JobTracker_Patch:DetermineNextJob2 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&)
RimThreaded.Pawn_JobTracker_Patch:TryFindAndStartJob (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.TryFindAndStartJob_Patch1 (Verse.AI.Pawn_JobTracker)
Verse.AI.Pawn_JobTracker:EndCurrentJob (Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
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/HugsLibRecordKeeper/78c53f7eaa8f025f5cb8e01ecf7cdc33

Player.log (Optional)

Player.log

Save file ?

Kingless Confederacy of Dothieraoum.zip

Screenshots (Optional) ?

❗❗❗ Add screenshots to help explain your problem here ❗❗❗

Mod list (Preferably a RimPy compatible list.) ?

<?xml version="1.0" encoding="utf-8"?>
<ModsConfigData>
    <version>1.3.3200 rev719</version>
    activeMods:
        <li>brrainz.harmony</li>
        <li>ludeon.rimworld</li>
        <li>ludeon.rimworld.royalty</li>
        <li>ludeon.rimworld.ideology</li>
        <li>unlimitedhugs.hugslib</li>
        <li>edb.preparecarefully</li>
        <li>vat.epoeforked</li>
        <li>fluffy.modmanager</li>
        <li>lwm.deepstorage</li>
        <li>mehni.pickupandhaul</li>
        <li>uuugggg.replacestuff</li>
        <li>jaxe.rimhud</li>
        <li>dhultgren.smarterconstruction</li>
        <li>uuugggg.whatismypurpose</li>
        <li>majorhoff.rimthreaded</li>

    knownExpansions:
        <li>ludeon.rimworld</li>
        <li>ludeon.rimworld.royalty</li>
        <li>ludeon.rimworld.ideology</li>
</ModsConfigData>
MiningInMySleep commented 2 years ago

Also occurs in Vanilla RT. See attached save file for cooking issue. Also noticed pawn set to prioritize mining (Lucky) idling when multiple nodes are designated to be mined and tailoring as well.

Hugs Lib Log: https://gist.github.com/HugsLibRecordKeeper/c9fb751e635239d8798d856947e981fe Player Log: Player.log Save File: Fenba.zip