RimWorld

RimWorld

Prison Labor
wrightc214 Jan 17, 2023 @ 10:02am
Prisoner won't mine

Eigio threw exception in WorkGiver Mine: System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Max (System.Collections.Generic.IEnumerable`1[T] source) [0x00022] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Mining_Priority.WorkGiver_Miner_JobOnThing_Patch.IsGoodMiner (Verse.Pawn pawn, System.Type workGiverType) [0x00064] in <7855d9d94f8e412e8d4ed07989f82283>:0
at Mining_Priority.WorkGiver_Miner_JobOnThing_Patch.Prefix (Verse.AI.Job& __result, Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x0002c] in <7855d9d94f8e412e8d4ed07989f82283>:0
at (wrapper dynamic-method) RimWorld.WorkGiver_Miner.RimWorld.WorkGiver_Miner.JobOnThing_Patch2(RimWorld.WorkGiver_Miner,Verse.Pawn,Verse.Thing,bool)
at (wrapper dynamic-method) RimWorld.WorkGiver_Scanner.RimWorld.WorkGiver_Scanner.HasJobOnThing_Patch1(RimWorld.WorkGiver_Scanner,Verse.Pawn,Verse.Thing,bool)
at PrisonLabor.Core.AI.JobGivers.JobGiver_Labor+<>c__DisplayClass9_0.<TryGetJobOnThing>b__0 (Verse.Thing t) [0x0000e] in <9d14d0f4dd8d49edab38325ab7f58610>:0
at Verse.GenClosest+<>c__DisplayClass2_0.<ClosestThingReachable>b__0 (Verse.Thing t) [0x00034] in <3126aca1aad041dcbdeda807cfe004bf>:0
at Verse.GenClosest.<ClosestThing_Global>g__Process|5_0 (Verse.Thing t, Verse.GenClosest+<>c__DisplayClass5_0& ) [0x00047] in <3126aca1aad041dcbdeda807cfe004bf>:0
at Verse.GenClosest.ClosestThing_Global (Verse.IntVec3 center, System.Collections.IEnumerable searchSet, System.Single maxDistance, System.Predicate`1[T] validator, System.Func`2[T,TResult] priorityGetter) [0x00125] in <3126aca1aad041dcbdeda807cfe004bf>:0
at Verse.GenClosest.ClosestThingReachable (Verse.IntVec3 root, Verse.Map map, Verse.ThingRequest thingReq, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator, System.Collections.Generic.IEnumerable`1[T] customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32 searchRegionsMax, System.Boolean forceAllowGlobalSearch, Verse.RegionType traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions) [0x0014c] in <3126aca1aad041dcbdeda807cfe004bf>:0
at PrisonLabor.Core.AI.JobGivers.JobGiver_Labor.TryGetJobOnThing (Verse.Pawn pawn, Verse.TargetInfo& targetInfo, RimWorld.WorkGiver_Scanner& workGiver_Scanner, RimWorld.WorkGiver_Scanner scanner) [0x00126] in <9d14d0f4dd8d49edab38325ab7f58610>:0
at PrisonLabor.Core.AI.JobGivers.JobGiver_Labor.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x0014e] in <9d14d0f4dd8d49edab38325ab7f58610>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string)
PrisonLabor.Core.AI.JobGivers.JobGiver_Labor:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_PrioritySorter: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_SubtreesByTag:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch3 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:CheckForJobOverride ()
RimWorld.Toils_LayDown/<>c__DisplayClass6_0:<LayDown>b__1 ()
LightsOut.Patches.Lights.DisableLightGlowOnSleep/<>c__DisplayClass0_1:<Postfix>b__1 ()
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch6 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
< >
Showing 1-1 of 1 comments
wrightc214 Jan 17, 2023 @ 10:12am 
< >
Showing 1-1 of 1 comments
Per page: 1530 50