RimWorld

RimWorld

[1.4] Vanilla Factions Expanded - Medieval
Dizzy Ioeuy Apr 16, 2023 @ 10:31pm
Generating pawn problems for an encounter? PAUSING game every time it happens
Pawn generation error: Generated pawn incapable of violence. Too many tries (120), returning null. Generation request: kindDef=VFEM_Medieval_Peasant, context=NonPlayer, faction=The Empire of Derce, tile=29544, forceGenerateNewPawn=False, allowedDevelopmentalStages=Adult, allowDead=False, allowDowned=False, canGeneratePawnRelations=True, mustBeCapableOfViolence=True, colonistRelationChanceFactor=1, forceAddFreeWarmLayerIfNeeded=False, allowGay=True, prohibitedTraits=, allowFood=False, allowAddictions=True, inhabitant=False, certainlyBeenInCryptosleep=False, biocodeWeaponChance=0, validatorPreGear=, validatorPostGear=System.Predicate`1[Verse.Pawn], fixedBiologicalAge=, fixedChronologicalAge=, fixedGender=, fixedLastName=, fixedBirthName=
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateNewPawnInternal_Patch1 (Verse.PawnGenerationRequest&)
Verse.PawnGenerator:GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest)
PowerfulEmpire.PawnGroupKindWorker_Psycast:GeneratePawns (RimWorld.PawnGroupMakerParms,RimWorld.PawnGroupMaker,System.Collections.Generic.List`1<Verse.Pawn>,bool)
RimWorld.PawnGroupKindWorker:GeneratePawns (RimWorld.PawnGroupMakerParms,RimWorld.PawnGroupMaker,bool)
RimWorld.PawnGroupMaker:GeneratePawns (RimWorld.PawnGroupMakerParms,bool)
RimWorld.PawnGroupMakerUtility/<GeneratePawns>d__2:MoveNext ()
System.Collections.Generic.List`1<Verse.Pawn>:.ctor (System.Collections.Generic.IEnumerable`1<Verse.Pawn>)
System.Linq.Enumerable:ToList<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>)
(wrapper dynamic-method) RimWorld.IncidentWorker_Raid:RimWorld.IncidentWorker_Raid.TryGenerateRaidInfo_Patch0 (RimWorld.IncidentWorker_Raid,RimWorld.IncidentParms,System.Collections.Generic.List`1<Verse.Pawn>&,bool)
(wrapper dynamic-method) RimWorld.IncidentWorker_Raid:RimWorld.IncidentWorker_Raid.TryExecuteWorker_Patch1 (RimWorld.IncidentWorker_Raid,RimWorld.IncidentParms)
(wrapper dynamic-method) RimWorld.IncidentWorker_RaidEnemy:RimWorld.IncidentWorker_RaidEnemy.TryExecuteWorker_Patch1 (RimWorld.IncidentWorker_RaidEnemy,RimWorld.IncidentParms)
(wrapper dynamic-method) RimWorld.IncidentWorker:RimWorld.IncidentWorker.TryExecute_Patch3 (RimWorld.IncidentWorker,RimWorld.IncidentParms)
(wrapper dynamic-method) RimWorld.Storyteller:RimWorld.Storyteller.TryFire_Patch1 (RimWorld.Storyteller,RimWorld.FiringIncident)
RimWorld.IncidentQueue:IncidentQueueTick ()
RimWorld.Storyteller:StorytellerTick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
< >
Showing 1-2 of 2 comments
Dizzy Ioeuy Apr 16, 2023 @ 10:47pm 
And this:

Could not generate a pawn after 70 tries. Last error: Generated pawn incapable of violence. Ignoring scenario requirements.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateNewPawnInternal_Patch1 (Verse.PawnGenerationRequest&)
Verse.PawnGenerator:GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest)
PowerfulEmpire.PawnGroupKindWorker_Psycast:GeneratePawns (RimWorld.PawnGroupMakerParms,RimWorld.PawnGroupMaker,System.Collections.Generic.List`1<Verse.Pawn>,bool)
RimWorld.PawnGroupKindWorker:GeneratePawns (RimWorld.PawnGroupMakerParms,RimWorld.PawnGroupMaker,bool)
RimWorld.PawnGroupMaker:GeneratePawns (RimWorld.PawnGroupMakerParms,bool)
RimWorld.PawnGroupMakerUtility/<GeneratePawns>d__2:MoveNext ()
System.Collections.Generic.List`1<Verse.Pawn>:.ctor (System.Collections.Generic.IEnumerable`1<Verse.Pawn>)
System.Linq.Enumerable:ToList<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>)
(wrapper dynamic-method) RimWorld.IncidentWorker_Raid:RimWorld.IncidentWorker_Raid.TryGenerateRaidInfo_Patch0 (RimWorld.IncidentWorker_Raid,RimWorld.IncidentParms,System.Collections.Generic.List`1<Verse.Pawn>&,bool)
(wrapper dynamic-method) RimWorld.IncidentWorker_Raid:RimWorld.IncidentWorker_Raid.TryExecuteWorker_Patch1 (RimWorld.IncidentWorker_Raid,RimWorld.IncidentParms)
(wrapper dynamic-method) RimWorld.IncidentWorker_RaidEnemy:RimWorld.IncidentWorker_RaidEnemy.TryExecuteWorker_Patch1 (RimWorld.IncidentWorker_RaidEnemy,RimWorld.IncidentParms)
(wrapper dynamic-method) RimWorld.IncidentWorker:RimWorld.IncidentWorker.TryExecute_Patch3 (RimWorld.IncidentWorker,RimWorld.IncidentParms)
(wrapper dynamic-method) RimWorld.Storyteller:RimWorld.Storyteller.TryFire_Patch1 (RimWorld.Storyteller,RimWorld.FiringIncident)
RimWorld.IncidentQueue:IncidentQueueTick ()
RimWorld.Storyteller:StorytellerTick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
Terror_666 Jun 6, 2023 @ 7:48am 
I am having a similar issue. Stutters constantly.

Full log
https://gist.github.com/HugsLibRecordKeeper/f5cc37cfe484e9621a943edabb30599a

Errors that seem to be relevant.
Pawn generation error: Generated pawn incapable of violence. Too many tries (120), returning null. Generation request: kindDef=VFEM_Medieval_Squire, context=NonPlayer, faction=Vean Dynasty, tile=264822, forceGenerateNewPawn=False, allowedDevelopmentalStages=Adult, allowDead=False, allowDowned=False, canGeneratePawnRelations=True, mustBeCapableOfViolence=True, colonistRelationChanceFactor=1, forceAddFreeWarmLayerIfNeeded=False, allowGay=True, prohibitedTraits=, allowFood=False, allowAddictions=True, inhabitant=False, certainlyBeenInCryptosleep=False, biocodeWeaponChance=0, validatorPreGear=, validatorPostGear=System.Predicate`1[Verse.Pawn], fixedBiologicalAge=, fixedChronologicalAge=, fixedGender=, fixedLastName=, fixedBirthName= (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39) Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch5(Verse.PawnGenerationRequest) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39) Exception while generating pawn group: System.NullReferenceException: Object reference not set to an instance of an object at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch5(Verse.PawnGenerationRequest) at RimWorld.PawnGroupKindWorker_Normal.GeneratePawns (RimWorld.PawnGroupMakerParms parms, RimWorld.PawnGroupMaker groupMaker, System.Collections.Generic.List`1[T] outPawns, System.Boolean errorOnZeroResults) [0x002a0] in <95de19971c5d40878d8742747904cdcd>:0 at (wrapper dynamic-method) RimWorld.PawnGroupKindWorker.RimWorld.PawnGroupKindWorker.GeneratePawns_Patch1(RimWorld.PawnGroupKindWorker,RimWorld.PawnGroupMakerParms,RimWorld.PawnGroupMaker,bool) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
< >
Showing 1-2 of 2 comments
Per page: 1530 50