RimWorld

RimWorld

Wing's Meaningful Parties
1.6 | Jun 31 | BUG: Wildlife Birth Event Throws Error
Howdy! This could TOTALLY be due to my mod stack, however every time wildlife gives birth, it throws a non-breaking error. The wildlife pawn still is able to spawn a new child, however of course the dev console isn't happy, and spits this stack trace out.

My best guess is that it's some sort of issue between this and the Vanilla Expanded Framework

Exception interval ticking hediff (Pregnant ticksSinceCreation=878597) for pawn GuineaPig129766. Removing hediff... Exception: System.NullReferenceException: Object reference not set to an instance of an object [Ref 32D6C5BE] at MeaningfulParties.Patches.TaleRecorder_RecordTale.Prefix (RimWorld.TaleDef def, System.Object[] args) [0x000b9] in <a0a4e5a216b845d3ba608afba9c620c5>:0 at RimWorld.TaleRecorder.RecordTale (RimWorld.TaleDef def, System.Object[] args) [0x00018] in <24d25868955f4df08b02c73b55f389fe>:0 - PREFIX winggar.meaningfulparties: Void MeaningfulParties.Patches.TaleRecorder_RecordTale:Prefix(TaleDef def, Object[] args) at Verse.Hediff_Pregnant.DoBirthSpawn (Verse.Pawn mother, Verse.Pawn father) [0x001ae] in <24d25868955f4df08b02c73b55f389fe>:0 - TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.AnimalBehaviours.VanillaExpandedFramework_Hediff_Pregnant_DoBirthSpawn_Patch:ModifyCrossbreedKindDef(IEnumerable`1 codeInstructions) at Verse.Hediff_Pregnant.TickInterval (System.Int32 delta) [0x002c8] in <24d25868955f4df08b02c73b55f389fe>:0 at Verse.Pawn_HealthTracker.HealthTickInterval (System.Int32 delta) [0x00062] 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_Patch2 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn_HealthTracker.HealthTickInterval_Patch1 (Verse.Pawn_HealthTracker,int) Verse.Pawn:TickInterval (int) 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) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)