边缘世界 RimWorld

边缘世界 RimWorld

RimTalk
I encountered a bug in the game where the screen occasionally flickers for a moment.
From time to time during gameplay, an error log pops up, accompanied by a momentary screen flicker. The log is as follows

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref F9B0C92E]
at RimTalk.Service.PawnService.GetStatus (Verse.Pawn pawn) [0x00046] in /Users/chris/RiderProjects/RimTalk/Source/Service/PawnService.cs:296
at RimTalk.Service.PawnService.GetPawnStatusFull (Verse.Pawn pawn, System.Collections.Generic.List`1[T] nearbyPawns) [0x00016] in /Users/chris/RiderProjects/RimTalk/Source/Service/PawnService.cs:156
at RimTalk.Service.TalkService.GenerateTalk (System.String prompt, Verse.Pawn initiator, Verse.Pawn recipient) [0x000d8] in /Users/chris/RiderProjects/RimTalk/Source/Service/TalkService.cs:32
at RimTalk.Patch.TickManagerPatch.TryGenerateThoughtTalk (Verse.Pawn pawn) [0x00022] in /Users/chris/RiderProjects/RimTalk/Source/Patch/TickManagerPatch.cs:134
at RimTalk.Patch.TickManagerPatch.Postfix () [0x00129] in /Users/chris/RiderProjects/RimTalk/Source/Patch/TickManagerPatch.cs:72
at Verse.TickManager.DoSingleTick () [0x003e8] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER Krkr.RocketMan: IEnumerable`1 RocketMan.Patches.TickManager_DoSingleTick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- PREFIX Krkr.RocketMan: Void RocketMan.Patches.TickManager_DoSingleTick_Context_Patch:Prefix()
- PREFIX OskarPotocki.VEF: Void VEF.Maps.VanillaExpandedFramework_DoSingleTick_Patch:Prefix(Stopwatch& __state)
- POSTFIX Owlchemist.MidSaverSaver: Void MidsaverSaver.CheckWorldObjects:Postfix()
- POSTFIX OskarPotocki.VEF: Void VEF.Maps.VanillaExpandedFramework_DoSingleTick_Patch:Postfix(Stopwatch __state)
- POSTFIX vanillaexpanded.achievements: Void AchievementsExpanded.AchievementHarmony:SingleLongTickTracker()
- POSTFIX cj.rimtalk: Void RimTalk.Patch.TickManagerPatch:Postfix()
- POSTFIX jpt.speakup: Void SpeakUp.TickManager_DoSingleTick:Postfix()
- POSTFIX Owlchemist.ScatteredFlames: Void ScatteredFlames.Patch_TickManager_DoSingleTick:Postfix()
at Verse.TickManager.TickManagerUpdate () [0x00087] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Game.UpdatePlay () [0x00032] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX Krkr.RocketMan: Void RocketMan.Patches.Game_UpdatePlay_Patch:Postfix()
- POSTFIX Owlchemist.ToggleableOverlays: Void ToggleableOverlays.Patch_Game_UpdatePlay:Postfix()
at Verse.Root_Play.Update () [0x00032] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Root_Play:Update ()
-------------------------------------------------------------

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref F9B0C92E]
at RimTalk.Service.PawnService.GetStatus (Verse.Pawn pawn) [0x00046] in /Users/chris/RiderProjects/RimTalk/Source/Service/PawnService.cs:296
at RimTalk.Service.PawnService.GetPawnStatusFull (Verse.Pawn pawn, System.Collections.Generic.List`1[T] nearbyPawns) [0x00016] in /Users/chris/RiderProjects/RimTalk/Source/Service/PawnService.cs:156
at RimTalk.Service.TalkService.GenerateTalk (System.String prompt, Verse.Pawn initiator, Verse.Pawn recipient) [0x000d8] in /Users/chris/RiderProjects/RimTalk/Source/Service/TalkService.cs:32
at RimTalk.Patch.TickManagerPatch.TryGenerateThoughtTalk (Verse.Pawn pawn) [0x00022] in /Users/chris/RiderProjects/RimTalk/Source/Patch/TickManagerPatch.cs:134
at RimTalk.Patch.TickManagerPatch.Postfix () [0x00129] in /Users/chris/RiderProjects/RimTalk/Source/Patch/TickManagerPatch.cs:72
at Verse.TickManager.DoSingleTick () [0x003e8] in <24d25868955f4df08b02c73b55f389fe>:0
-------------------------------------------------------------

Could you please help figure out what the problem is? Some of my other friends have encountered the same issue too, and we’ve spent a long time troubleshooting but haven’t fixed it. Thank you.
最后由 茉茉兰眠月 编辑于; 9 月 28 日 下午 3:00
< >
正在显示第 1 - 4 条,共 4 条留言
Juicy  [开发者] 9 月 28 日 下午 8:54 
Thanks for the report! It looks like the issue occurred when a pawn was researching and the mod couldn’t find the research name. This should now be fixed.
Nice! It's really an amazing mod ~
引用自 Juicy
Thanks for the report! It looks like the issue occurred when a pawn was researching and the mod couldn’t find the research name. This should now be fixed.

I'm sorry, but a similar issue has occurred again during gameplay, though the frequency is much lower than before.

Orz


----------------
Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 50E9A8E4] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Root_Play:Update ()
-------------------
Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 50E9A8E4]
at RimTalk.Service.TalkService.ConsumeTalk (RimTalk.Data.PawnState pawnState) [0x00019] in /Users/chris/RiderProjects/RimTalk/Source/Service/TalkService.cs:166
at RimTalk.Service.TalkService.GetTalk (Verse.Pawn pawn) [0x00014] in /Users/chris/RiderProjects/RimTalk/Source/Service/TalkService.cs:155
RimTalk.PlayLogEntry_RimTalkInteraction..ctor(InteractionDef interactionDef, Pawn initiator, Pawn recipient, List`1 rules)
at RimTalk.Service.TalkService.DisplayTalk () [0x000bd] in /Users/chris/RiderProjects/RimTalk/Source/Service/TalkService.cs:142
at RimTalk.Patch.TickManagerPatch.Postfix () [0x000c5] in /Users/chris/RiderProjects/RimTalk/Source/Patch/TickManagerPatch.cs:50
at Verse.TickManager.DoSingleTick () [0x003e8] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER Krkr.RocketMan: IEnumerable`1 RocketMan.Patches.TickManager_DoSingleTick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- PREFIX Krkr.RocketMan: Void RocketMan.Patches.TickManager_DoSingleTick_Context_Patch:Prefix()
- PREFIX OskarPotocki.VEF: Void VEF.Maps.VanillaExpandedFramework_DoSingleTick_Patch:Prefix(Stopwatch& __state)
- POSTFIX Owlchemist.MidSaverSaver: Void MidsaverSaver.CheckWorldObjects:Postfix()
- POSTFIX OskarPotocki.VEF: Void VEF.Maps.VanillaExpandedFramework_DoSingleTick_Patch:Postfix(Stopwatch __state)
- POSTFIX vanillaexpanded.achievements: Void AchievementsExpanded.AchievementHarmony:SingleLongTickTracker()
- POSTFIX cj.rimtalk: Void RimTalk.Patch.TickManagerPatch:Postfix()
- POSTFIX jpt.speakup: Void SpeakUp.TickManager_DoSingleTick:Postfix()
- POSTFIX Owlchemist.ScatteredFlames: Void ScatteredFlames.Patch_TickManager_DoSingleTick:Postfix()
at Verse.TickManager.TickManagerUpdate () [0x00087] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Game.UpdatePlay () [0x00032] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX Krkr.RocketMan: Void RocketMan.Patches.Game_UpdatePlay_Patch:Postfix()
- POSTFIX Owlchemist.ToggleableOverlays: Void ToggleableOverlays.Patch_Game_UpdatePlay:Postfix()
at Verse.Root_Play.Update () [0x00032] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Root_Play:Update ()
Juicy  [开发者] 9 月 29 日 上午 8:16 
Thanks for the follow up! I’ve fixed this as well, so it shouldn’t occur anymore.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50