边缘世界 RimWorld

边缘世界 RimWorld

Snap Out!
Anduin1357 2019 年 4 月 9 日 上午 12:51
[Bug] Colonist starting 10 jobs in 1 tick
When a colonist of abnormal mental state goes to bed to sleep, Snap Out! attempts to assign colonists to calm down said sleeping colonist, who is un-interactable and therefore, the job fails.
< >
正在显示第 1 - 8 条,共 8 条留言
Weil  [开发者] 2019 年 4 月 19 日 上午 4:31 
Will be fixed in next update. Thank you.
SpaceGhost 2019 年 4 月 20 日 上午 11:51 
Took me awhile to figure this out, but I'm getting the same.

I'm glad you're looking into it. Otherwise, this mod is great and I really do love the interaction it provides. Would you mind making a post here when you've updated it? I'll subscribe to this discussion so I can get the update. I would greatly appreciate it!
SpaceGhost 2019 年 4 月 20 日 下午 12:05 
Oh, also, this one happens during a risk but not necessarily a full break. It's not a 10jobs in 1 tick, but it's a reference to a null value.

It was happening while teaching(teaching mod).

log here:

Sean threw exception in WorkGiver SnapOut_CalmPawnDownWorkgiver: System.NullReferenceException: Object reference not set to an instance of an object
at SnapOut.SnapUtils.canDo (Verse.Pawn) <0x00089>
at SnapOut.WorkGiver_CalmPawnDown.JobOnThing (Verse.Pawn,Verse.Thing,bool) <0x001e5>
at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn,Verse.Thing,bool) <0x00031>
at RimWorld.JobGiver_Work/<TryIssueJobPackage>c__AnonStorey1.<>m__0 (Verse.Thing) <0x0005e>
at Verse.GenClosest/<ClosestThingReachable>c__AnonStorey0.<>m__0 (Verse.Thing) <0x000fa>
at Verse.GenClosest.ClosestThing_Global (Verse.IntVec3,System.Collections.IEnumerable,single,System.Predicate`1<Verse.Thing>,System.Func`2<Verse.Thing, single>) <0x00214>
at Verse.GenClosest.ClosestThingReachable (Verse.IntVec3,Verse.Map,Verse.ThingRequest,Verse.AI.PathEndMode,Verse.TraverseParms,single,System.Predicate`1<Verse.Thing>,System.Collections.Generic.IEnumerable`1<Verse.Thing>,int,int,bool,Verse.RegionType,bool) <0x0050f>
at ExpandedRoofing.ClosestThingReachableHelper.ClosestThingReachableWrapper (Verse.IntVec3,Verse.Map,Verse.ThingRequest,Verse.AI.PathEndMode,Verse.TraverseParms,single,System.Predicate`1<Verse.Thing>,System.Collections.Generic.IEnumerable`1<Verse.Thing>,int,int,bool,Verse.RegionType,bool) <0x001b6>
at (wrapper dynamic-method) RimWorld.JobGiver_Work.TryIssueJobPackage_Patch1 (object,Verse.Pawn,Verse.AI.JobIssueParams) <0x0131b>

Verse.Log:Error(String, Boolean)
RimWorld.JobGiver_Work:TryIssueJobPackage_Patch1(Object, Pawn, JobIssueParams)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob_Patch5(Object, ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob_Patch1(Object, JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick_Patch1(Object)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
最后由 SpaceGhost 编辑于; 2019 年 4 月 20 日 下午 12:07
Anduin1357 2019 年 4 月 20 日 下午 7:08 
引用自 SpaceGhost
Oh, also, this one happens during a risk but not necessarily a full break. It's not a 10jobs in 1 tick, but it's a reference to a null value.

-snip-
Pretty sure that no one tries to debug using these, everyone uses the debug log instead.
This one is more of the Unity side that Tynan would use to debug his assemblies or something.
Weil  [开发者] 2019 年 4 月 21 日 下午 12:09 
Busy with real life and the likes. Update >hopefully< coming this Friday.
Weil  [开发者] 2019 年 4 月 26 日 上午 11:17 
Update in about an hour.
SpaceGhost 2019 年 4 月 26 日 上午 11:23 
You're a boss!
Weil  [开发者] 2019 年 4 月 26 日 下午 12:21 
Updated.
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50