Open vegapnk opened 8 months ago
I got another error regarding this:
Error creating pregnancy in Nightmare's womb, father Campos: System.NullReferenceException: Object reference not set to an instance of an object
at RJW_BGS.RaceGeneDef_Helper.ValidRaceGeneDefs (Verse.Pawn pawn) [0x0007f] in <60ac45948c154fe6924434a0fe654285>:0
at RJW_BGS.RaceGeneDef_Helper.GetRaceGeneDefInternal (Verse.Pawn pawn) [0x00000] in <60ac45948c154fe6924434a0fe654285>:0
at RJW_BGS.InheritanceUtility.SelectGenes (Verse.Pawn pawn) [0x00006] in <60ac45948c154fe6924434a0fe654285>:0
at RJW_BGS.InheritanceUtility.AnimalInheritedGenes (Verse.Pawn father, Verse.Pawn mother) [0x000b8] in <60ac45948c154fe6924434a0fe654285>:0
at RJW_BGS.Patch_RJW_BestialityPregnancyUtility.AddGenes (Verse.Pawn mother, Verse.Pawn dad, rjw.Hediff_BasePregnancy& __instance) [0x0008c] in <60ac45948c154fe6924434a0fe654285>:0
at (wrapper dynamic-method) rjw.Hediff_BasePregnancy.rjw.Hediff_BasePregnancy.Initialize_Patch1(rjw.Hediff_BasePregnancy,Verse.Pawn,Verse.Pawn,rjw.Hediff_BasePregnancy/DnaGivingParent)
at rjw.Hediff_BasePregnancy.Create[T] (Verse.Pawn mother, Verse.Pawn father, rjw.Hediff_BasePregnancy+DnaGivingParent dnaGivingParent) [0x000ac] in <e70496b985674ea2bc0c6d308d5fad5e>:0
at rjw.Hediff_BasePregnancy.Create[T] (Verse.Pawn mother, Verse.Pawn father) [0x00009] in <e70496b985674ea2bc0c6d308d5fad5e>:0
at (wrapper dynamic-method) RJW_Menstruation.HediffComp_Menstruation.RJW_Menstruation.HediffComp_Menstruation.Implant_Patch0(RJW_Menstruation.HediffComp_Menstruation)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) RJW_Menstruation.HediffComp_Menstruation:RJW_Menstruation.HediffComp_Menstruation.Implant_Patch0 (RJW_Menstruation.HediffComp_Menstruation)
RJW_Menstruation.HediffComp_Menstruation:LutealAction ()
RJW_Menstruation.HediffComp_PeriodicOvulator:LutealAction ()
(wrapper dynamic-method) RJW_Menstruation.HediffComp_Menstruation:RJW_Menstruation.HediffComp_Menstruation.CompPostTick_Patch0 (RJW_Menstruation.HediffComp_Menstruation,single&)
Verse.HediffWithComps:PostTick ()
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch0 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
HardworkingNinetail.Ninetail:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
Not sure if I ever mentioned it but the reason this wasn't working ending up having to do with race support not being configured properly for the animal. It didn't have a base animal to inherit from so it was failing. Once I added Kyulen to the canine group they worked properly.
Just thought I'd mention it in case I hadn't.
I got a report that menstruation eggs do not fully work with the Animal Gene Inheritance.
Original chat:
Racedef: