vegapnk / RJW-Genes

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

Orgasmic Mytosis Error #130

Open EikiProg opened 1 month ago

EikiProg commented 1 month ago

When the pawn is in Orgasmic Mytosis critical and the duplication should trigger, I got an error and hediff Orgasmic Mytosis is removed.

Exception in SetupToils for pawn Sally driver=JobDriver_SexBaseRecieverQuickie (toilIndex=-1) driver.job=(GettingQuickie (Job_2721071) A = Thing_Human1458 B = Thing_Human1737)
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 32F8D7C5]
 at ReSpliceCharmweavers.Hediff_LoveThrall.PostAdd (System.Nullable`1[T] dinfo) [0x00009] in <c1336bbf1c234995a03924e9ba045d65>:0 
 at Verse.HediffSet.AddDirect (Verse.Hediff hediff, System.Nullable`1[T] dinfo, Verse.DamageWorker+DamageResult damageResult) [0x000e2] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - PREFIX ReSpliceCharmweavers.Mod: Boolean ReSpliceCharmweavers.HediffSet_AddDirect_Patch:Prefix(HediffSet __instance, Pawn ___pawn, Hediff hediff)
     - POSTFIX com.VEHighmate: Void VanillaRacesExpandedHighmate.HediffSet_AddDirect_Patch:Postfix(Pawn ___pawn, Hediff hediff)
 at Verse.Pawn_HealthTracker.AddHediff (Verse.Hediff hediff, Verse.BodyPartRecord part, System.Nullable`1[T] dinfo, Verse.DamageWorker+DamageResult result) [0x000e8] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - PREFIX ReSpliceCharmweavers.Mod: Boolean ReSpliceCharmweavers.Pawn_HealthTracker_AddHediff_Patch:Prefix(Pawn_HealthTracker __instance, Pawn ___pawn, Hediff& hediff, BodyPartRecord part, Nullable`1 dinfo, DamageResult result)
     - PREFIX OskarPotocki.VanillaPsycastsExpanded: Boolean VanillaPsycastsExpanded.Pawn_HealthTracker_AddHediff_Patch:Prefix(Pawn_HealthTracker __instance, Pawn ___pawn, Hediff hediff, BodyPartRecord part, Nullable`1 dinfo, DamageResult result)
 at RJW_Genes.Patch_OrgasmMytosis.CopyRelevantHediffs (Verse.Pawn toCopyTo, Verse.Pawn copiedFrom) [0x000c7] in <1ad56b5ba01241b58fca64b6bf890e66>:0 
 at RJW_Genes.Patch_OrgasmMytosis.Multiply (Verse.Pawn toMultiply) [0x000cb] in <1ad56b5ba01241b58fca64b6bf890e66>:0 
 at RJW_Genes.Patch_OrgasmMytosis.Postfix (rjw.JobDriver_Sex __instance) [0x000a9] in <1ad56b5ba01241b58fca64b6bf890e66>: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_SexBaseReciever.DoSetup () [0x00000] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
 at rjw.JobDriver_SexBaseRecieverLoved.DoSetup () [0x00000] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
 at rjw.JobDriver_SexBaseRecieverLoved+<MakeNewToils>d__1.MoveNext () [0x0004d] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
 at Verse.AI.JobDriver.SetupToils () [0x00057] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - POSTFIX roolo.RunAndGun: Void RunAndGun.Harmony.JobDriver_SetupToils:Postfix(JobDriver __instance, List`1 ___toils)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.SetupToils_Patch1 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.StartJob_Patch3 (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)
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__5 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__4 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(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_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

image

image

vegapnk commented 1 month ago

Thank you for your report @EikiProg .

Can you maybe provide me with a mod-list?

Can you maybe turn on the option for debug log in the RJW-Genes Mod-Settings and see if anything strange happens before?

EikiProg commented 1 month ago

Her the mods list and logs of the last actions.

And for some more info, i used a similar xenotype when I last played in 1.4 and i have memory of Orgasmic Mytosis working at that time and 75% sure the pawn was also a love thrall.

<?xml version="1.0" encoding="utf-8"?>
<ModsConfigData>
    <version>1.5.4104 rev435</version>
    <activeMods>
        <li>brrainz.harmony</li>
        <li>ludeon.rimworld</li>
        <li>ludeon.rimworld.royalty</li>
        <li>ludeon.rimworld.ideology</li>
        <li>ludeon.rimworld.biotech</li>
        <li>imranfish.xmlextensions</li>
        <li>unlimitedhugs.hugslib</li>
        <li>void.charactereditor</li>
        <li>telefonmast.graphicssettings</li>
        <li>mobius.royaltytweaks</li>
        <li>kenx00x.xenotypeandideologybuttonstitlescreen15update</li>
        <li>mastertea.randomplus</li>
        <li>m00nl1ght.unofficialupdates.preparelanding</li>
        <li>thereallemon.mapreroll</li>
        <li>frozensnowfox.filthvanisheswithrainandtime</li>
        <li>indeed.stackxxl</li>
        <li>hatti.qualitybuilder</li>
        <li>tr.qualcolor</li>
        <li>cat2002.showhair</li>
        <li>voult.betterpawncontrol</li>
        <li>oblitus.animalslogic</li>
        <li>avilmask.commonsense</li>
        <li>vesper.notmyfault</li>
        <li>marvinkosh.sometimesraidsgowrong</li>
        <li>sr.modrimworld.factionalwarcontinued</li>
        <li>nilchei.dynamicdiplomacycontinued</li>
        <li>automatic.traderships</li>
        <li>marvinkosh.ughyougotme</li>
        <li>weilbyte.snapout</li>
        <li>avilmask.selfdyeing</li>
        <li>rimworld.cactuspie.noslaveromance</li>
        <li>zyxabacab.nosympathyforprisoners</li>
        <li>mlie.prisonersdonthavekeys</li>
        <li>omgsplat.nonegativecompatibility</li>
        <li>uuugggg.mealsonwheels</li>
        <li>mlie.badcanbegood</li>
        <li>carnysenpai.traitraritycolors</li>
        <li>dubwise.dubsmintminimap</li>
        <li>unlimitedhugs.allowtool</li>
        <li>daria40k.biglittlemodpatch</li>
        <li>vitakaninen.shelfpatch</li>
        <li>uuugggg.buildfrominventory</li>
        <li>mario1.3patch.metaldontburn</li>
        <li>aelanna.cleaningspeed</li>
        <li>neceros.fastersmoothing</li>
        <li>scherub.stonecuttingextended</li>
        <li>ogliss.thewhitecrayon.quarry</li>
        <li>owlchemist.smartfarming</li>
        <li>mehni.pickupandhaul</li>
        <li>codeoptimist.jobsofopportunity</li>
        <li>ubergarm.kanbanstockpile</li>
        <li>inglix.appareltaintedoncorpserot</li>
        <li>fluffy.animaltab</li>
        <li>petetimessix.compacthediffs</li>
        <li>fluffy.blueprints.fork</li>
        <li>brrainz.cameraplus</li>
        <li>crashm.colorcodedmoodbar.11</li>
        <li>com.bymarcin.architecticons</li>
        <li>proxyer.optionalicons4ai</li>
        <li>mlie.relevantstatsindescription</li>
        <li>mlie.iclearlyhaveenough</li>
        <li>yorbil.missingfabricationrecipes</li>
        <li>dubwise.dubsmintmenus</li>
        <li>fluffykittens.billcategories</li>
        <li>falconne.bwm</li>
        <li>mlie.defaultingredientradius</li>
        <li>jaxe.rimhud</li>
        <li>sandy.rpgstyleinventory.avilmask.revamped</li>
        <li>automatic.bionicicons</li>
        <li>dhultgren.smarterconstruction</li>
        <li>mlie.smarterdeconstructionandmining</li>
        <li>grizzlemethis.tradingspot.rw</li>
        <li>oskarpotocki.vanillafactionsexpanded.core</li>
        <li>vanillaexpanded.vee</li>
        <li>vanillaexpanded.vanillasocialinteractionsexpanded</li>
        <li>vanillaexpanded.outposts</li>
        <li>mrhydralisk.voeadditionaloutposts</li>
        <li>mrhydralisk.voedeliverylogistics</li>
        <li>mrhydralisk.voeprisonerpatch</li>
        <li>vanillaexpanded.basegenerationexpanded</li>
        <li>vanillaexpanded.vpsycastse</li>
        <li>vanillaexpanded.vpe.hemosage</li>
        <li>vanillaracesexpanded.customicons</li>
        <li>vanillaracesexpanded.archon</li>
        <li>vanillaracesexpanded.genie</li>
        <li>vanillaracesexpanded.highmate</li>
        <li>vanillaracesexpanded.phytokin</li>
        <li>vanillaracesexpanded.waster</li>
        <li>oskarpotocki.vfe.empire</li>
        <li>vanillaexpanded.vappe</li>
        <li>vanillaexpanded.vaeaccessories</li>
        <li>vanillaexpanded.vfecore</li>
        <li>vanillaexpanded.vfearchitect</li>
        <li>vanillaexpanded.vfemedical</li>
        <li>vanillaexpanded.vfeproduction</li>
        <li>vanillaexpanded.vfesecurity</li>
        <li>vanillaexpanded.vnutriente</li>
        <li>vanillaexpanded.vchemfuele</li>
        <li>vanillaexpanded.recycling</li>
        <li>vanillaexpanded.vplantse</li>
        <li>vanillaexpanded.vcooke</li>
        <li>vanillaexpanded.ideo.iconsandsymbols</li>
        <li>vanillaexpanded.vmemese</li>
        <li>vanillaexpanded.vanillatraitsexpanded</li>
        <li>mrx.vteexpansion</li>
        <li>meltup.polyamorybeds.vanilla</li>
        <li>resplice.xotr.charmweavers</li>
        <li>rimfridge.kv.rw</li>
        <li>murmur.tcu</li>
        <li>crewd.reinforcedwallscontinued</li>
        <li>gt.sam.tilledsoil</li>
        <li>4loris4.morelinkables</li>
        <li>zal.wallvitalsmonitor</li>
        <li>uuugggg.replacestuff</li>
        <li>garethp.replacestuffcompatibility</li>
        <li>mireia.bodies</li>
        <li>won.hair</li>
        <li>neronix17.retexture.wonhairmen</li>
        <li>won2.hair</li>
        <li>neronix17.retexture.wonhairwomen</li>
        <li>darkborderman.moretraitgenes</li>
        <li>rah.rbse</li>
        <li>proxyer.desurgeries.rbseonly</li>
        <li>gideon.reborn.qualitysurgeon</li>
        <li>uuugggg.smartmedicine</li>
        <li>linkolas.stabilize</li>
        <li>petetimessix.simplesidearms</li>
        <li>hobtook.mortaraccuracy</li>
        <li>uuugggg.gearupandgo</li>
        <li>roolo.runandgun</li>
        <li>memegoddess.searchanddestroy</li>
        <li>bodlosh.weaponstats</li>
        <li>orion.hospitality</li>
        <li>orion.cashregister</li>
        <li>orion.gastronomy</li>
        <li>bs.mbifvte</li>
        <li>vanillaexpanded.vtexe</li>
        <li>vanillaexpanded.vtexvariations</li>
        <li>anthitei.athsretexturefemalapparel.retexture</li>
        <li>gondragon.uinotincluded</li>
        <li>falconne.labelsonfloor</li>
        <li>rim.job.world</li>
        <li>c0ffee.rjw.events</li>
        <li>euclidean.eagleofphantoms.betterrjw</li>
        <li>dastardlii.rjw.rbse</li>
        <li>vegapnk.rjw.genes</li>
        <li>rjw.cum</li>
        <li>rjw.fb</li>
        <li>rjw.sexperience</li>
        <li>rjw.sexperience.ideology</li>
        <li>calamabanana.rjw.brothelcolony</li>
        <li>lewdmora.lewdideologyorigin</li>
        <li>mlie.rationalromance2</li>
        <li>telardo.romanceontherim</li>
        <li>lke.ideology.colovepartnerrelations</li>
        <li>nals.facialanimation</li>
        <li>nals.facialanimationexperimentals</li>
        <li>c0ffee.rjw.ideologyaddons</li>
        <li>c0ffee.rimworld.animations</li>
        <li>teacher.uap</li>
        <li>zaire82.hdheadattatchmentsforfacialanimation</li>
        <li>elif.bioniceyesoverlayremoval</li>
        <li>mlie.multibedroyaltypatch</li>
        <li>seohyeon.optimizationmeats</li>
        <li>scorpio.optimizationleathers</li>
        <li>owlchemist.cleanpathfinding</li>
        <li>owlchemist.toggleableoverlays</li>
        <li>owlchemist.toggleablereadouts</li>
        <li>dubwise.dubsperformanceanalyzer.steam</li>
        <li>taranchuk.performanceoptimizer</li>
        <li>krkr.rocketman</li>
    </activeMods>
    <knownExpansions>
        <li>ludeon.rimworld</li>
        <li>ludeon.rimworld.royalty</li>
        <li>ludeon.rimworld.ideology</li>
        <li>ludeon.rimworld.biotech</li>
    </knownExpansions>
</ModsConfigData>
[RJW]  Lovefeeder just finished loving: Amelia
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
rjw.ModLog:Message (string)
RJWLoveFeeding.LustFeeding:RJWTryTakeBlood (Verse.Pawn,Verse.Pawn)
RJWLoveFeeding.LustFeeding:RJWLustFeeding (rjw.SexProps)
RJWLoveFeeding.LustFeeding:Postfix (rjw.SexProps)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:rjw.SexUtility.ProcessSex_Patch1 (rjw.SexProps)
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__10 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__8 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(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_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

[RJW] Amelia snacked on Sally
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
rjw.ModLog:Message (string)
RJWLoveFeeding.LustFeeding:RJWTryTakeBlood (Verse.Pawn,Verse.Pawn)
RJWLoveFeeding.LustFeeding:RJWLustFeeding (rjw.SexProps)
RJWLoveFeeding.LustFeeding:Postfix (rjw.SexProps)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:rjw.SexUtility.ProcessSex_Patch1 (rjw.SexProps)
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__10 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__8 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(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_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

[RJW]  Lovefeeder just finished loving: Amelia
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
rjw.ModLog:Message (string)
RJWLoveFeeding.LustFeeding:RJWTryTakeBlood (Verse.Pawn,Verse.Pawn)
RJWLoveFeeding.LustFeeding:RJWLustFeeding (rjw.SexProps)
RJWLoveFeeding.LustFeeding:Postfix (rjw.SexProps)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:rjw.SexUtility.ProcessSex_Patch1 (rjw.SexProps)
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__10 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__8 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(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_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

[RJW] Amelia not hungry. 0.8923653 > 0.7
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
rjw.ModLog:Message (string)
RJWLoveFeeding.LustFeeding:RJWTryTakeBlood (Verse.Pawn,Verse.Pawn)
RJWLoveFeeding.LustFeeding:RJWLustFeeding (rjw.SexProps)
RJWLoveFeeding.LustFeeding:Postfix (rjw.SexProps)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:rjw.SexUtility.ProcessSex_Patch1 (rjw.SexProps)
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__10 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__8 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(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_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

[RJW-Genes] Hitting Multiply of Mytosis Pawn!
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
RJW_Genes.ModLog:Message (string)
RJW_Genes.Patch_OrgasmMytosis:Multiply (Verse.Pawn)
RJW_Genes.Patch_OrgasmMytosis:Postfix (rjw.JobDriver_Sex)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:rjw.JobDriver_Sex.SetupOrgasmTicks_Patch1 (rjw.JobDriver_Sex)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:rjw.JobDriver_Sex.Orgasm_Patch2 (rjw.JobDriver_Sex)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:rjw.JobDriver_Sex.SexTick_Patch2 (rjw.JobDriver_Sex,Verse.Pawn,Verse.Thing,bool,bool)
rjw.JobDriver_SexQuick/<>c__DisplayClass1_0:<MakeNewToils>b__8 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(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_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

Exception in JobDriver tick for pawn Amelia driver=JobDriver_SexQuick (toilIndex=4) driver.job=(Quickie (Job_2777952) A = Thing_Human1737 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 5D746A1F]
 at ReSpliceCharmweavers.Hediff_LoveThrall.PostAdd (System.Nullable`1[T] dinfo) [0x00009] in <c1336bbf1c234995a03924e9ba045d65>:0 
 at Verse.HediffSet.AddDirect (Verse.Hediff hediff, System.Nullable`1[T] dinfo, Verse.DamageWorker+DamageResult damageResult) [0x000e2] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - PREFIX ReSpliceCharmweavers.Mod: Boolean ReSpliceCharmweavers.HediffSet_AddDirect_Patch:Prefix(HediffSet __instance, Pawn ___pawn, Hediff hediff)
     - POSTFIX com.VEHighmate: Void VanillaRacesExpandedHighmate.HediffSet_AddDirect_Patch:Postfix(Pawn ___pawn, Hediff hediff)
 at Verse.Pawn_HealthTracker.AddHediff (Verse.Hediff hediff, Verse.BodyPartRecord part, System.Nullable`1[T] dinfo, Verse.DamageWorker+DamageResult result) [0x000e8] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - PREFIX ReSpliceCharmweavers.Mod: Boolean ReSpliceCharmweavers.Pawn_HealthTracker_AddHediff_Patch:Prefix(Pawn_HealthTracker __instance, Pawn ___pawn, Hediff& hediff, BodyPartRecord part, Nullable`1 dinfo, DamageResult result)
     - PREFIX OskarPotocki.VanillaPsycastsExpanded: Boolean VanillaPsycastsExpanded.Pawn_HealthTracker_AddHediff_Patch:Prefix(Pawn_HealthTracker __instance, Pawn ___pawn, Hediff hediff, BodyPartRecord part, Nullable`1 dinfo, DamageResult result)
 at RJW_Genes.Patch_OrgasmMytosis.CopyRelevantHediffs (Verse.Pawn toCopyTo, Verse.Pawn copiedFrom) [0x000c7] in <1ad56b5ba01241b58fca64b6bf890e66>:0 
 at RJW_Genes.Patch_OrgasmMytosis.Multiply (Verse.Pawn toMultiply) [0x000cb] in <1ad56b5ba01241b58fca64b6bf890e66>:0 
 at RJW_Genes.Patch_OrgasmMytosis.Postfix (rjw.JobDriver_Sex __instance) [0x000a9] in <1ad56b5ba01241b58fca64b6bf890e66>: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.Orgasm () [0x000e2] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
     - PREFIX rjw.cum: Boolean rjwcum.Orgasm_Cum_Apply:Orgasm_Cum_Patch(JobDriver_Sex __instance)
     - POSTFIX RJW_Sexperience: Void RJWSexperience.RJW_Patch_Orgasm:Postfix(JobDriver_Sex __instance)
 at rjw.JobDriver_Sex.SexTick (Verse.Pawn pawn, Verse.Thing target, System.Boolean pawnnude, System.Boolean partnernude) [0x000b3] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
     - PREFIX rjwanim: Boolean Rimworld_Animations.HarmonyPatch_SexTick:Prefix(JobDriver_Sex __instance, Pawn pawn, Thing target)
     - POSTFIX rjwanim: Void Rimworld_Animations.HarmonyPatch_JobDriver_Sex2:Postfix(JobDriver_Sex __instance, Pawn pawn)
 at rjw.JobDriver_SexQuick+<>c__DisplayClass1_0.<MakeNewToils>b__8 () [0x00069] in <e6fbfe84395243a1bbcd87b5f8a857d9>:0 
 at Verse.AI.JobDriver.DriverTick () [0x00174] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable`1 Soyuz.Patches.JobDriver_DriverTick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
     - TRANSPILER Orion.Hospitality: IEnumerable`1 Hospitality.Patches.JobDriver_Patch+DriverTick:Transpiler(IEnumerable`1 insts)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(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_Patch3 (Verse.Game)
Verse.Root_Play:Update ()
EikiProg commented 1 month ago

I also did a test with and without love thrall on another pawn for blood bag in prison and transfered the genes on it and Orgasmic Mytosis worked correctly when love thrall wasn't present, so it's probably that.