安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
I already added null checks in that area, and I can’t reproduce the issue here.
If it still happens, please upload the error log so I can take a look.
Before this update, everything worked fine. After this latest update, I started seeing this crash whenever any pawn eats fine or lavish meals. I’ve tried adjusting mod load order and even starting a new save, but the issue still happens. I believe it’s very likely caused by this update. I’ve attached the error log so you can take a look. Please let me know if you need any additional info or steps to reproduce it.
🔗https://gist.github.com/HugsLibRecordKeeper/f934bd70fb6d73f9142413cdd54a1639
Exception in Verse.AI.JobDriver.TryActuallyStartNextToil: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 4C181FEA]
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 <69bc983186174710a84d4b96ecf6532f>:0
at RimWorld.MemoryThoughtHandler.TryGainMemory (RimWorld.Thought_Memory newThought, Verse.Pawn otherPawn) [0x002d8] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER VFEEmpire.Mod: IEnumerable`1 VFEEmpire.HarmonyPatches.Patch_ThoughtStacking:Transpiler(IEnumerable`1 instructions, MethodBase original)
- 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)
- PREFIX OskarPotocki.VanillaTraitsExpanded: Boolean VanillaTraitsExpanded.TryGainMemory_Patch:Prefix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX OskarPotocki.VEF: Void VEF.Pawns.VanillaExpandedFramework_MemoryThoughtHandler_TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX vanillaexpanded.achievements: Void AchievementsExpanded.AchievementHarmony:ThoughtInitialized(Thought_Memory newThought)
- POSTFIX cj.rimtalk: Void RimTalk.Patch.PatchMemoryThoughtHandlerTryGainMemory:Postfix(Thought_Memory newThought, Pawn otherPawn)
- POSTFIX vanillaexpanded.aspirations: Void VAspirE.SatisfactionPatches:CheckGeneral(Pawn ___pawn)
- POSTFIX OskarPotocki.VanillaTraitsExpanded: Void VanillaTraitsExpanded.TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory newThought, Pawn otherPawn)
- POSTFIX com.VEHighmate: Void VanillaRacesExpandedHighmate.VanillaRacesExpandedHighmate_MemoryThoughtHandler_TryGainMemory_Patch:HandlePawnMemories(Thought_Memory newThought, Pawn otherPawn, MemoryThoughtHandler __instance)
at Verse.Thing.Ingested (Verse.Pawn ingester, System.Single nutritionWanted) [0x00924] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER rimworld.erdelf.alien_race.main: IEnumerable`1 AlienRace.HarmonyPatches:IngestedTranspiler(IEnumerable`1 instructions)
- TRANSPILER fxz.ratkinanomaly: IEnumerable`1 RatkinAnomaly.Ingest_PatchMain:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- TRANSPILER fxz.ratkinanomaly: IEnumerable`1 RatkinAnomaly.Ingest_PatchSub:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- PREFIX OskarPotocki.VEF: Void VEF.Genes.ThingIngestingPatches:Prefix(Pawn ingester, Boolean& __state)
- PREFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:IngestedPrefix(Pawn ingester, Thing __instance)
- PREFIX fxz.rigormortis: Void RigorMortis.Ingest_Patch:Prefix(Thing __instance, Pawn ingester)
- PREFIX com.vanillageneticrimexpanded: Void GeneticRim.GeneticRim_Thing_Ingested_Patch:DetectSargSyndrome(Pawn ingester, Single nutritionWanted, Thing __instance)
- POSTFIX VFEEmpire.Mod: Void VFEEmpire.HarmonyPatches.Patch_Thing_Ingested:Postfix(Thing __instance, Pawn ingester)
- POSTFIX vanillaexpanded.achievements: Void AchievementsExpanded.AchievementHarmony:IngestedThing(Thing __instance, Pawn ingester)
- POSTFIX fxz.ratkinanomaly: Void RatkinAnomaly.Ingest_Patch:Postfix(Thing __instance, Pawn ingester)
- POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.Thing_Ingested:Postfix(Thing __instance, Pawn ingester, Single nutritionWanted)
- POSTFIX com.vanillamemesexpanded: Void VanillaMemesExpanded.VanillaMemesExpanded_Thing_Ingested_Patch:NotifyAnimalProducstIngested(Thing __instance, Pawn ingester)
- POSTFIX fxz.rigormortis: Void RigorMortis.Ingest_Patch:Postfix(Thing __instance, Pawn ingester, Single& __result)
- POSTFIX com.VanillaCookingE
I encountered another error that seems related to RimTalk. This time it happens when pawns are disturbed during sleep or hear clamor, and the stacktrace points to the same PatchMemoryThoughtHandlerTryGainMemory.Postfix. The trigger seems random and not limited to eating fine or lavish meals.
Log link:
🔗https://gist.github.com/HugsLibRecordKeeper/8587f37e41e7823bf3f27fe9e1423771
Visual Exceptions reports:
Exception in Verse.RegionTraverser.BreadthFirstTraverse: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 60A11F44]
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 <69bc983186174710a84d4b96ecf6532f>:0
at RimWorld.MemoryThoughtHandler.TryGainMemory (RimWorld.Thought_Memory newThought, Verse.Pawn otherPawn) [0x002d8] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER VFEEmpire.Mod: IEnumerable`1 VFEEmpire.HarmonyPatches.Patch_ThoughtStacking:Transpiler(IEnumerable`1 instructions, MethodBase original)
- 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)
- PREFIX OskarPotocki.VanillaTraitsExpanded: Boolean VanillaTraitsExpanded.TryGainMemory_Patch:Prefix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX OskarPotocki.VEF: Void VEF.Pawns.VanillaExpandedFramework_MemoryThoughtHandler_TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX vanillaexpanded.achievements: Void AchievementsExpanded.AchievementHarmony:ThoughtInitialized(Thought_Memory newThought)
- POSTFIX cj.rimtalk: Void RimTalk.Patch.PatchMemoryThoughtHandlerTryGainMemory:Postfix(Thought_Memory newThought, Pawn otherPawn)
- POSTFIX vanillaexpanded.aspirations: Void VAspirE.SatisfactionPatches:CheckGeneral(Pawn ___pawn)
- POSTFIX OskarPotocki.VanillaTraitsExpanded: Void VanillaTraitsExpanded.TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory& newThought, Pawn otherPawn)
- POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.TryGainMemory_Patch:Postfix(MemoryThoughtHandler __instance, Thought_Memory newThought, Pawn otherPawn)
- POSTFIX com.VEHighmate: Void VanillaRacesExpandedHighmate.VanillaRacesExpandedHighmate_MemoryThoughtHandler_TryGainMemory_Patch:HandlePawnMemories(Thought_Memory newThought, Pawn otherPawn, MemoryThoughtHandler __instance)
at RimWorld.MemoryThoughtHandler.TryGainMemory (RimWorld.ThoughtDef def, Verse.Pawn otherPawn, RimWorld.Precept sourcePrecept) [0x0002d] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Pawn.CheckForDisturbedSleep (Verse.Pawn source) [0x00108] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX com.vanillaplantsexpandedmushrooms: Boolean VanillaPlantsExpandedMushrooms.VanillaPlantsExpandedMushrooms_Pawn_CheckForDisturbedSleep_Patch:NullifyDisturbedSleepThought(Pawn __instance)
at Verse.Pawn.HearClamor (Verse.Thing source, Verse.ClamorDef type) [0x00075] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX VFETribalsMod: Boolean VFETribals.Pawn_HearClamor_Patch:Prefix(Thing source, ClamorDef type)
at Verse.GenClamor+<>c__DisplayClass2_0.<DoClamor>b__0 (Verse.Thing _, Verse.Pawn hearer) [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.GenClamor+<>c__DisplayClass4_0.<DoClamor>b__1 (Verse.Region r) [0x00061] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.RegionTraverser+BFSWorker.BreadthFirstTraverseWork (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x00054] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.RegionTraverser.BreadthFirstTraverse (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x0005b] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
This error started appearing because I added thought tracking in the last update, which triggers these problematic mod interactions.
I've added error handling to catch and skip problematic thoughts, which should prevent the crash. Let me know if it still persists.