emipa606 / TurnOnOffRePowered

Repository for the Rimworld mod named Turn It On and Off - RePowered
https://steamcommunity.com/sharedfiles/filedetails/?id=2228219259
MIT License
2 stars 3 forks source link

Tasks at the campfire or butcher sometimes restart repeatedly. #1

Closed MrHrulgin closed 3 years ago

MrHrulgin commented 3 years ago

Error log here, https://gist.github.com/8dbb7a6720a8aca07b56a81a690a9272

Relevant bit:

Hotspot analysis

1x ExecuteToExecuteWhenFinished() -> 0.0083 ms (total (w/children): 0.0088 ms) 1x Verse.Sound.Sustainer -> Void <.ctor>b__15_0() -> 0.0005 ms (total (w/children): 0.0005 ms)

Thread: 140 did not finish within 3000ms. Restarting thread... (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception in JobDriver tick for pawn Conlay driver=JobDriver_DoBill (toilIndex=12) driver.job=(DoBill (Job_956419) A=Thing_Campfire93364 B=Thing_RawRice285230 C=(135, 0, 117)) System.Threading.ThreadAbortException at System.Collections.Generic.HashSet1[T].AddIfNotPresent (T value) [0x0002f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Collections.Generic.HashSet1[T].Add (T item) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at TurnOnOffRePowered.TurnItOnandOff.AddBuildingUsed (Verse.Building building) [0x00001] in :0 at TurnOnOffRePowered.Building_WorkTable_UsedThisTick_Patch.UsedThisTick (RimWorld.Building_WorkTable instance) [0x00001] in :0 at (wrapper dynamic-method) RimWorld.Building_WorkTable.RimWorld.Building_WorkTable.UsedThisTick_Patch1(RimWorld.Building_WorkTable) at Verse.AI.Toils_Recipe+<>c__DisplayClass2_0.b1 () [0x0009d] in :0 at RimThreaded.JobDriver_Patch.DriverTick (Verse.AI.JobDriver __instance) [0x00318] in <1abb41dd29964ea8956337ff32d645d6>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Removing this mod resolved the issue, but I don't know what actually was causing it. Mod interaction?

emipa606 commented 3 years ago

What was the recipe the pawn was doing? Something with rice on a campfire, is it un modded campfire/rice? Just so I can test it myself.

MrHrulgin commented 3 years ago

That particular task was trying to cook rice into a simple meal at an unmodded campfire, but I witnessed a similar thing at a butcher spot butchering a variety of animals.

emipa606 commented 3 years ago

Hm, i tried it in an unmodded game and it worked as it should. Also use it in my current game with ~200 other mods with no issues so you may have to disable mods until it works to find out what other mod is causing it.

MrHrulgin commented 3 years ago

Ok. Thanks for looking into it.