边缘世界 RimWorld

边缘世界 RimWorld

RimTalk
Bug report
Bugs encountered following today's update



Pawn 嘎啦玛 threw exception while executing toil LayDown's finish action (1), jobDriver=RimWorld.JobDriver_LayDown, job=LayDown (Job_160718) A = Thing_Bed128314 Giver = JobGiver_GetRest [workGiverDef: null], toilIndex=2: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 91800054]
at RimWorld.ThoughtUtility.NullifyingHediff (RimWorld.ThoughtDef def, Verse.Pawn pawn) [0x00002] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.Nightstalker.Hediff_Darkvision:NullDarkness(ThoughtDef def, Pawn pawn, Hediff& __result)
at RimWorld.ThoughtUtility.ThoughtNullified (Verse.Pawn pawn, RimWorld.ThoughtDef def) [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Thought_Memory.MoodOffset () [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at RimTalk.Patch.PatchMemoryThoughtHandlerTryGainMemory.Postfix (RimWorld.Thought_Memory newThought, Verse.Pawn otherPawn) [0x0001b] in /Users/chris/RiderProjects/RimTalk/Source/Patch/ThoughtPatch.cs:78
at RimWorld.MemoryThoughtHandler.TryGainMemory (RimWorld.Thought_Memory newThought, Verse.Pawn otherPawn) [0x002a7] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX rimworld.erdelf.alien_race.main: Boolean AlienRace.HarmonyPatches:TryGainMemoryPrefix(Thought_Memory& newThought, MemoryThoughtHandler __instance)
- PREFIX fxz.ratkinanomaly: Void RatkinAnomaly.AteWithoutTable_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory newThought)
- POSTFIX OskarPotocki.VEF: Void VEF.Pawns.VanillaExpandedFramework_MemoryThoughtHandler_TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX cj.rimtalk: Void RimTalk.Patch.PatchMemoryThoughtHandlerTryGainMemory:Postfix(Thought_Memory newThought, Pawn otherPawn)
at RimWorld.MemoryThoughtHandler.TryGainMemory (RimWorld.ThoughtDef def, Verse.Pawn otherPawn, RimWorld.Precept sourcePrecept) [0x0002d] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.MemoryThoughtHandler.TryGainMemory (RimWorld.Thought_Memory newThought, Verse.Pawn otherPawn) [0x00185] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX rimworld.erdelf.alien_race.main: Boolean AlienRace.HarmonyPatches:TryGainMemoryPrefix(Thought_Memory& newThought, MemoryThoughtHandler __instance)
- PREFIX fxz.ratkinanomaly: Void RatkinAnomaly.AteWithoutTable_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory newThought)
- POSTFIX OskarPotocki.VEF: Void VEF.Pawns.VanillaExpandedFramework_MemoryThoughtHandler_TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX cj.rimtalk: Void RimTalk.Patch.PatchMemoryThoughtHandlerTryGainMemory:Postfix(Thought_Memory newThought, Pawn otherPawn)
at RimWorld.Toils_LayDown.ApplyBedThoughts (Verse.Pawn actor, RimWorld.Building_Bed bed) [0x00354] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.Toils_LayDown_ApplyBedThoughts_Patch:Prefix(Pawn actor)
- POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.Toils_LayDown_ApplyBedThoughts_Patch:Postfix()
- POSTFIX fxz.rigormortis: Void RigorMortis.Thought_Sleep_Patch:Postfix(Pawn actor)
at RimWorld.Toils_LayDown.FinalizeLayingJob (Verse.Pawn pawn, RimWorld.Building_Bed bed, System.Boolean deathrest) [0x0000d] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Toils_LayDown+<>c__DisplayClass6_0.<LayDown>b__2 () [0x00039] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.AI.Toil.Cleanup (System.Int32 myIndex, Verse.AI.JobDriver jobDriver) [0x0001f] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Toil.Cleanup_Patch1 (Verse.AI.Toil,int,Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.Cleanup_Patch2 (Verse.AI.JobDriver,Verse.AI.JobCondition)
Verse.AI.Pawn_JobTracker:CleanupCurrentJob (Verse.AI.JobCondition,bool,bool,bool,System.Nullable`1<bool>)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.StartJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.AI.Job,Verse.AI.JobCondition,Verse.AI.ThinkNode,bool,bool,Verse.ThinkTreeDef,System.Nullable`1<Verse.AI.JobTag>,bool,bool,System.Nullable`1<bool>,bool,bool,bool)
Verse.AI.Pawn_JobTracker:CheckForJobOverride (single,bool)
RimWorld.Toils_LayDown/<>c__DisplayClass6_0:<LayDown>b__1 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch1 (Verse.AI.JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.Thing:DoTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch1 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch1 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch2 (Verse.Root_Play)
< >
正在显示第 1 - 5 条,共 5 条留言
Juicy  [开发者] 3 小时以前 
Thanks for reporting. The issue should be fixed now, let me know if it still persists.
引用自 Juicy
Thanks for reporting. The issue should be fixed now, let me know if it still persists.
Unfortunately, it seems the error persists. Here is my error log:

=============================================================

Exception in JobDriver fixed tick for pawn Eve driver=JobDriver_LayDown (toilIndex=2) driver.job=(LayDown (Job_5255128) A = Thing_Crib446881)
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 37BB7D76]
at RimWorld.ThoughtUtility.NullifyingTrait (RimWorld.ThoughtDef def, Verse.Pawn pawn) [0x0000c] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.ThoughtUtility.ThoughtNullified (Verse.Pawn pawn, RimWorld.ThoughtDef def) [0x0000b] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Thought_Memory.MoodOffset () [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at RimTalk.Patch.PatchMemoryThoughtHandlerTryGainMemory.Postfix (RimWorld.Thought_Memory newThought, Verse.Pawn otherPawn) [0x0001b] in /Users/chris/RiderProjects/RimTalk/Source/Patch/ThoughtPatch.cs:78
at RimWorld.MemoryThoughtHandler.TryGainMemory (RimWorld.Thought_Memory newThought, Verse.Pawn otherPawn) [0x0029c] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX rimworld.erdelf.alien_race.main: Boolean AlienRace.HarmonyPatches:TryGainMemoryPrefix(Thought_Memory& newThought, MemoryThoughtHandler __instance)
- PREFIX OskarPotocki.VanillaTraitsExpanded: Boolean VanillaTraitsExpanded.TryGainMemory_Patch:Prefix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX cj.rimtalk: Void RimTalk.Patch.PatchMemoryThoughtHandlerTryGainMemory:Postfix(Thought_Memory newThought, Pawn otherPawn)
- POSTFIX OskarPotocki.VEF: Void VEF.Pawns.VanillaExpandedFramework_MemoryThoughtHandler_TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX OskarPotocki.VanillaTraitsExpanded: Void VanillaTraitsExpanded.TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
at Hospitality.Patches.Toils_LayDown_Patch+ApplyBedThoughts.Replacement (Verse.Pawn actor) [0x00323] in <403572094a0a485595cc5306f58fdccf>:0
at RimWorld.Toils_LayDown.ApplyBedThoughts (Verse.Pawn actor, RimWorld.Building_Bed bed) [0x0000f] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX Orion.Hospitality: Boolean Hospitality.Patches.Toils_LayDown_Patch+ApplyBedThoughts:Replacement(Pawn actor)
- POSTFIX com.alphamemes: Void AlphaMemes.AlphaMemes_Toils_LayDown_ApplyBedThoughts_Patch:ApplyBarrackThoughts(Pawn actor, Building_Bed bed)
at RimWorld.Toils_LayDown.ApplyBedRelatedEffects (Verse.Pawn p, RimWorld.Building_Bed bed, System.Boolean asleep, System.Boolean gainRest, System.Int32 delta) [0x0016f] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Toils_LayDown+<>c__DisplayClass6_0.<LayDown>b__1 () [0x000a3] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.AI.JobDriver.DriverTick () [0x001ae] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER Orion.Hospitality: IEnumerable`1 Hospitality.Patches.JobDriver_Patch+DriverTick:Transpiler(IEnumerable`1 insts)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch1 (Verse.AI.JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()
引用自 Juicy
Thanks for reporting. The issue should be fixed now, let me know if it still persists.
Here's my analysis of ChatGPT for your reference: When a colonist lies down on a bed, the system calculates their mood. Since the quality of the crib affects the baby's mood in the original game, an error occurred when my baby colonist lay down on a crib.

(Translated using software)
Juicy  [开发者] 37 分钟以前 
Thanks for the update. I just pushed a new fix, can you try it and see if the issue’s gone?
引用自 Juicy
Thanks for the update. I just pushed a new fix, can you try it and see if the issue’s gone?
Your speed in fixing bugs is truly astonishing💀 Thank you for your dedication.I'll try updating the mod later.
By the way, the latest update's semi-transparent dialog box is great, but I've noticed it sometimes fails to display the entire conversation—meaning I see multiple dialogs generated in the DEBUG screen, yet only a few lines appear in the semi-transparent dialog box.
Upon observation, I noticed: sometimes, likely due to delays, the system generates multiple characters' dialogue at once (at least multiple lines appear simultaneously in the DEBUG screen), while the semi-transparent dialogue box only shows the very first line generated within that group.
I'm not sure if that makes sense? Please let me know if you're confused.
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50