vegapnk / RJW-Genes

Rimworld Biotech Genes related to RJW
MIT License
31 stars 33 forks source link

Immediate Abort of Breeding Error #124

Closed DrDiggle500 closed 1 month ago

DrDiggle500 commented 1 month ago
Exception in SetupToils for pawn Diver driver=JobDriver_RandomRape (toilIndex=-1) driver.job=(RandomRape (Job_28192) A = Thing_Human1117 Giver = JobGiver_RandomRape [workGiverDef: null])
System.MissingMethodException: bool RimWorld.Pawn_GeneTracker.HasActiveGene(Verse.GeneDef)
[Ref DF762215]
 at RJW_Genes.Patch_OrgasmMytosis.Postfix (rjw.JobDriver_Sex __instance) [0x00015] in <d074982103c34b54a4b8eff890ad99ee>:0 
 at rjw.JobDriver_Sex.SetupOrgasmTicks () [0x00064] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
     - POSTFIX rjw_genes: Void RJW_Genes.Patch_OrgasmMytosis:Postfix(JobDriver_Sex __instance)
 at rjw.JobDriver_Sex.setup_ticks () [0x00006] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
     - POSTFIX rjwanim: Void Rimworld_Animations.HarmonyPatch_JobDriver_Sex:Postfix(JobDriver_Sex __instance)
 at rjw.JobDriver_Rape+<MakeNewToils>d__1.MoveNext () [0x0006e] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
 at Verse.AI.JobDriver.SetupToils () [0x00051] in <072283ee78664a60b49e41f830580334>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:SetupToils ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.StartJob_Patch6 (Verse.AI.Pawn_JobTracker,Verse.AI.Job,Verse.AI.JobCondition,Verse.AI.ThinkNode,bool,bool,Verse.ThinkTreeDef,System.Nullable`1<Verse.AI.JobTag>,bool,bool,System.Nullable`1<bool>,bool,bool,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
Verse.AI.Pawn_JobTracker:EndCurrentJob (Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()
vegapnk commented 1 month ago

Thank you for your bug-report. Can you maybe elaborate what you were doing? What's happening?

Is the game crashing, or do you "just" get an error?

DrDiggle500 commented 1 month ago

Sorry for the late reply. I seem to be getting just an error which causes any rimjobworld interactions to be aborted before they're activated. Each pawn would attempt to engage in copulation and then abort before any interaction.

vegapnk commented 1 month ago

@DrDiggle500 I will close this for now, I am pretty sure you just have an outdated Game Version.

Please see this known bug. If the issue persists after, I will gladly reopen the issue :)