RimWorld

RimWorld

Questionable Ethics Enhanced
Samio Apr 14, 2020 @ 1:58pm
Issue generating pawns
Sorry to be a bother but for some reason the cloning vat is incapable of generating pawns. The organ vat works fine. I really enjoyed this mod in 1.0 and I'm not sure if it's a mod conflict or loading order that's the issue.


Here's the log:


QEE: Generating pawn...
RandomElementByWeight with totalWeight=0 - use TryRandomElementByWeight.

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.PawnApparelGenerator+PossibleApparelSet.Add (RimWorld.ThingStuffPair pair) [0x00065] in <284a6ff744b9480aa693aa0b43675384>:0
at (wrapper dynamic-method) RimWorld.PawnApparelGenerator.DMD<DMD<GenerateWorkingPossibleApparelSetFor_Patch0>?1257648000::GenerateWorkingPossibleApparelSetFor_Patch0>(Verse.Pawn,single,System.Collections.Generic.List`1<RimWorld.ThingStuffPair>)
at (wrapper dynamic-method) RimWorld.PawnApparelGenerator.DMD<DMD<GenerateStartingApparelFor_Patch4>?-1549382528::GenerateStartingApparelFor_Patch4>(Verse.Pawn,Verse.PawnGenerationRequest)
at (wrapper dynamic-method) Verse.PawnGenerator.DMD<DMD<GenerateGearFor_Patch4>?1572524032::GenerateGearFor_Patch4>(Verse.Pawn,Verse.PawnGenerationRequest)
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, System.Boolean ignoreScenarioRequirements, System.Boolean ignoreValidator) [0x00559] in <284a6ff744b9480aa693aa0b43675384>:0
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x00096] in <284a6ff744b9480aa693aa0b43675384>:0
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00183] in <284a6ff744b9480aa693aa0b43675384>:0
at (wrapper dynamic-method) Verse.PawnGenerator.DMD<DMD<GeneratePawn_Patch5>?350188672::GeneratePawn_Patch5>(Verse.PawnGenerationRequest)

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

JobDriver threw exception in initAction for pawn Bacama driver=JobDriver_ExtractGrowerProduct (toilIndex=3) driver.job=(QE_ExtractFromGrowerJob (Job_7186167) A=Thing_QE_PawnVat1042273)
System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.PawnApparelGenerator+PossibleApparelSet.Add (RimWorld.ThingStuffPair pair) [0x00065] in <284a6ff744b9480aa693aa0b43675384>:0
at (wrapper dynamic-method) RimWorld.PawnApparelGenerator.DMD<DMD<GenerateWorkingPossibleApparelSetFor_Patch0>?1257648000::GenerateWorkingPossibleApparelSetFor_Patch0>(Verse.Pawn,single,System.Collections.Generic.List`1<RimWorld.ThingStuffPair>)
at (wrapper dynamic-method) RimWorld.PawnApparelGenerator.DMD<DMD<GenerateStartingApparelFor_Patch4>?-1549382528::GenerateStartingApparelFor_Patch4>(Verse.Pawn,Verse.PawnGenerationRequest)
at (wrapper dynamic-method) Verse.PawnGenerator.DMD<DMD<GenerateGearFor_Patch4>?1572524032::GenerateGearFor_Patch4>(Verse.Pawn,Verse.PawnGenerationRequest)
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, System.Boolean ignoreScenarioRequirements, System.Boolean ignoreValidator) [0x00559] in <284a6ff744b9480aa693aa0b43675384>:0
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x00096] in <284a6ff744b9480aa693aa0b43675384>:0
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00183] in <284a6ff744b9480aa693aa0b43675384>:0
at (wrapper dynamic-method) Verse.PawnGenerator.DMD<DMD<GeneratePawn_Patch5>?350188672::GeneratePawn_Patch5>(Verse.PawnGenerationRequest)
at QEthics.GenomeUtility.MakePawnFromGenomeSequence (QEthics.GenomeSequence genomeSequence, Verse.Thing creator) [0x00079] in <eedd1e5e600e418794269e2416b68c2f>:0
at (wrapper dynamic-method) QEthics.Building_PawnVatGrower.DMD<DMD<TryMakeClone_Patch2>?-2068675840::TryMakeClone_Patch2>(QEthics.Building_PawnVatGrower)
at (wrapper dynamic-method) QEthics.Building_PawnVatGrower.DMD<DMD<TryExtractProduct_Patch2>?567912448::TryExtractProduct_Patch2>(QEthics.Building_PawnVatGrower,Verse.Pawn)
at QEthics.JobDriver_ExtractGrowerProduct.<MakeNewToils>b__1_0 () [0x00016] in <eedd1e5e600e418794269e2416b68c2f>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001df] in <284a6ff744b9480aa693aa0b43675384>:0

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
< >
Showing 1-9 of 9 comments
PudgyElderGod May 7, 2020 @ 9:06pm 
Currently experiencing the same issue. Did you ever find a fix?
Samio May 8, 2020 @ 5:02pm 
Originally posted by Pudgy:
Currently experiencing the same issue. Did you ever find a fix?

I have not. Currently just running without it and waiting for a fix or an update.
PudgyElderGod May 9, 2020 @ 4:33am 
What were you trying to clone when you ran into that issue? Cuz I was trying to clone someone that had been dead for about a year and *that* was causing the issue. Trying to clone a still-living colonist worked fine.
Samio May 9, 2020 @ 5:40pm 
Originally posted by Pudgy:
What were you trying to clone when you ran into that issue? Cuz I was trying to clone someone that had been dead for about a year and *that* was causing the issue. Trying to clone a still-living colonist worked fine.

Just some random solider. Still alive and I wanted to make more since she had good stats. Not sure why but I run with a lot mods so I'm not sure if the load order was to blame or just a conflict. I'll try again with it at the bottom and see if it happens again.

It's weird because loading it up was fine, but it refused to show the graphic for the pawn growing and extracting them perma bugged the vat.

---

Update: So I just tried it again. It works?! All I've done was remove some hair mods and Simple Sidearms. I guess it was just a simple mod conflict. Not sure if that's what you need to do though, but works again for me now.
Last edited by Samio; May 9, 2020 @ 5:54pm
Ilmaren_ May 14, 2020 @ 12:38pm 
I don't have Simple Sidearms, and I'm still having this problem. What hair mods did you remove?
Samio May 14, 2020 @ 4:28pm 
Originally posted by Scorch67:
I don't have Simple Sidearms, and I'm still having this problem. What hair mods did you remove?

RimHair Styles Merged
Ilmaren_ May 14, 2020 @ 8:31pm 
Originally posted by Samio:
Originally posted by Scorch67:
I don't have Simple Sidearms, and I'm still having this problem. What hair mods did you remove?

RimHair Styles Merged

OK, I don't have that hair mod so I removed both Lovely hair and Nackblad Hairs (the two i have from that pack)
that doesn't doesn't fix the issue. Gonna see if I can keep any with this mod
Ilmaren_ May 14, 2020 @ 9:32pm 
Ok so I got It to work, my best guess was My Cute Ear?? Don't know for sure, cause:

My main map doesn't work, even with fixed mods, but a newly created map works fine. anyone know how to fix that so I don't have to restart?
TheDarkNutRises Jul 9, 2020 @ 11:46am 
I have this problem as well. I've done some testing and it seems to be a problem with Tribal heavy archer pawns. cloning still works with other pawn types I've tried.
< >
Showing 1-9 of 9 comments
Per page: 1530 50