RimWorld

RimWorld

Rim of Madness - Werewolves (Continued)
Wuldahfel 4 Feb, 2021 @ 4:33pm
Random gamebreaking bug
So there was a werewolf enemy pawn that I really liked. Had good traits all around, decent skills. I accidently killed her, but I resurrected her by crafting a transformative resurrector mech serum from Pawnmorpher, she came back as a wolffalo from Genetic Rim, I recruited her by taming her, then I reverted her. Then I waited for her first transformation, which coincidentally was the next night. I waited and... she broke the game when she transformed. The UI disappears when she transforms, and when I look at her, her werewolf body is behind her human body like some sort of JoJo stand. I have no idea why this happens. I even made a fresh save with all the mods and replicated everything I just said, but nothing went wrong. Is something wrong with my save? What am I supposed to do to resolve this?

Here is my Hugslib log (yes my game is littered with some errors but they were never harmful from what I saw)

https://gist.github.com/8cf48e24193a05cc3c9c248db451480e



And I get this error which gets repeated over and over:


Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at Werewolf.WerewolfForm.get_FormHealthScale () [0x00014] in <4c60453addb940908dc48c05962a94a7>:0
at Werewolf.HarmonyPatches.WerewolfHealthScale (Verse.Pawn __instance, System.Single& __result) [0x0002e] in <4c60453addb940908dc48c05962a94a7>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.get_HealthScale_Patch2(Verse.Pawn)
at Verse.HediffSet.CalculateBleedRate () [0x00078] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.HediffSet.get_BleedRateTotal () [0x0000d] in <d72310b4d8f64d25aee502792b58549f>:0
at MoodBarPatch.MoodCache.DoBleeding (Verse.Pawn colonist, UnityEngine.Rect& rect, System.Boolean& rectChanged, System.Boolean& alphaChanged, System.Single& scale) [0x00016] in <b06046ebd06f4a1ea270324fd3f80861>:0
at MoodBarPatch.MoodCache.Update (UnityEngine.Rect& rect, Verse.Pawn colonist, Verse.Map pawnMap, System.Boolean& reordering, RimWorld.ColonistBar colonistBar) [0x001fb] in <b06046ebd06f4a1ea270324fd3f80861>:0
at MoodBarPatch.MoodPatch.Prefix (RimWorld.ColonistBarColonistDrawer __instance, UnityEngine.Rect& rect, Verse.Pawn& colonist, Verse.Map& pawnMap, System.Boolean& highlight, System.Boolean& reordering) [0x00065] in <b06046ebd06f4a1ea270324fd3f80861>:0
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch2(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at RimWorld.ColonistBar.ColonistBarOnGUI () [0x00135] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch2(RimWorld.MapInterface)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)