Hello, I seem to be getting an error when some (not all) raids try to spawn and I'm not sure if it's related to your mod but it is mentioned in the log.
Mod list:
EDIT: I have been testing and going from what the log says I'd guess it's an issue generating relationships which happens more often at really high wealth (because more pawns are generated). I don't really have any mod that touches relationships though so I'm puzzled. It's happening somewhat rarely but still happens here and there when forcing a raid spawn.
EDIT2: This also only seems to be happening on Randy (I started using Randy a couple days ago, I played on Cassandra the whole game and this never happened and it's not happening after spawning a lot of raids with her). So... I guess it's on me or my mods, unlikely to be related to yours.
EDIT3: It finally happened with Cassandra, just took a lot longer. I'm seriously clueless here.
Code Select
Error while generating pawn. Rethrowing. Exception: System.InvalidCastException: Cannot cast from source type to destination type.
at RimWorld.ChildRelationUtility.DefinitelyHasNotBirthName (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at RimWorld.PawnRelationWorker_Sibling.GenerateParentParams (Single minChronologicalAge, Single maxChronologicalAge, Single midChronologicalAge, Single minBioAgeToHaveChildren, Verse.Pawn generatedChild, Verse.Pawn existingChild, PawnGenerationRequest childRequest, System.Single& biologicalAge, System.Single& chronologicalAge, System.Single& melanin, System.String& lastName) [0x00000] in <filename unknown>:0
at RimWorld.PawnRelationWorker_Sibling.GenerateParent (Verse.Pawn generatedChild, Verse.Pawn existingChild, Gender genderToGenerate, PawnGenerationRequest childRequest, Boolean newlyGeneratedParentsWillBeSpousesIfNotGay) [0x00000] in <filename unknown>:0
at RimWorld.PawnRelationWorker_Sibling.CreateRelation (Verse.Pawn generated, Verse.Pawn other, Verse.PawnGenerationRequest& request) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GeneratePawnRelations (Verse.Pawn pawn, Verse.PawnGenerationRequest& request) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, Boolean ignoreScenarioRequirements, Boolean ignoreValidator) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (PawnGenerationRequest request) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GeneratePawn (PawnGenerationRequest request) [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
Verse.PawnGenerator:GeneratePawn(PawnGenerationRequest)
RimWorld.PawnGroupKindWorker_Normal:GeneratePawns(PawnGroupMakerParms, PawnGroupMaker, List`1, Boolean)
RimWorld.PawnGroupKindWorker:GeneratePawns(PawnGroupMakerParms, PawnGroupMaker, Boolean)
RimWorld.PawnGroupMaker:GeneratePawns(PawnGroupMakerParms, Boolean)
RimWorld.<GeneratePawns>c__Iterator0:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
SometimesRaidsGoWrong.MarvsRandom_RaidEnemy:TryRandomExecuteWorker(IncidentParms)
SometimesRaidsGoWrong.MarvsRandom_RaidEnemy:TryExecuteWorker(IncidentParms)
RimWorld.IncidentWorker:TryExecute(IncidentParms)
Verse.<DoIncidentDebugAction>c__AnonStorey54:<>m__0()
Verse.Dialog_DebugOptionLister:DebugAction(String, Action)
Verse.Dialog_DebugOptionListLister:DoListingItems()
Verse.Dialog_OptionLister:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Code Select
Exception while generating pawn group: System.InvalidCastException: Cannot cast from source type to destination type.
at RimWorld.ChildRelationUtility.DefinitelyHasNotBirthName (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at RimWorld.PawnRelationWorker_Sibling.GenerateParentParams (Single minChronologicalAge, Single maxChronologicalAge, Single midChronologicalAge, Single minBioAgeToHaveChildren, Verse.Pawn generatedChild, Verse.Pawn existingChild, PawnGenerationRequest childRequest, System.Single& biologicalAge, System.Single& chronologicalAge, System.Single& melanin, System.String& lastName) [0x00000] in <filename unknown>:0
at RimWorld.PawnRelationWorker_Sibling.GenerateParent (Verse.Pawn generatedChild, Verse.Pawn existingChild, Gender genderToGenerate, PawnGenerationRequest childRequest, Boolean newlyGeneratedParentsWillBeSpousesIfNotGay) [0x00000] in <filename unknown>:0
at RimWorld.PawnRelationWorker_Sibling.CreateRelation (Verse.Pawn generated, Verse.Pawn other, Verse.PawnGenerationRequest& request) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GeneratePawnRelations (Verse.Pawn pawn, Verse.PawnGenerationRequest& request) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, Boolean ignoreScenarioRequirements, Boolean ignoreValidator) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (PawnGenerationRequest request) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GeneratePawn (PawnGenerationRequest request) [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
RimWorld.PawnGroupKindWorker:GeneratePawns(PawnGroupMakerParms, PawnGroupMaker, Boolean)
RimWorld.PawnGroupMaker:GeneratePawns(PawnGroupMakerParms, Boolean)
RimWorld.<GeneratePawns>c__Iterator0:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
SometimesRaidsGoWrong.MarvsRandom_RaidEnemy:TryRandomExecuteWorker(IncidentParms)
SometimesRaidsGoWrong.MarvsRandom_RaidEnemy:TryExecuteWorker(IncidentParms)
RimWorld.IncidentWorker:TryExecute(IncidentParms)
Verse.<DoIncidentDebugAction>c__AnonStorey54:<>m__0()
Verse.Dialog_DebugOptionLister:DebugAction(String, Action)
Verse.Dialog_DebugOptionListLister:DoListingItems()
Verse.Dialog_OptionLister:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Code Select
Got no pawns spawning raid from parms (target=(Map-1-PlayerHome) points=36160.82 raidStrategy=ImmediateAttack )
Verse.Log:Error(String, Boolean)
SometimesRaidsGoWrong.MarvsRandom_RaidEnemy:TryRandomExecuteWorker(IncidentParms)
SometimesRaidsGoWrong.MarvsRandom_RaidEnemy:TryExecuteWorker(IncidentParms)
RimWorld.IncidentWorker:TryExecute(IncidentParms)
Verse.<DoIncidentDebugAction>c__AnonStorey54:<>m__0()
Verse.Dialog_DebugOptionLister:DebugAction(String, Action)
Verse.Dialog_DebugOptionListLister:DoListingItems()
Verse.Dialog_OptionLister:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Mod list:
Code Select
<modNames>
<li>Core</li>
<li>BetterLoading</li>
<li>Startup impact</li>
<li>Mod Manager</li>
<li>SRTS Expanded</li>
<li>HugsLib</li>
<li>Camera+</li>
<li>TD Enhancement Pack</li>
<li>4M Mehni's Misc Modifications</li>
<li>ED-EnhancedOptions</li>
<li>Kill For Me</li>
<li>Allow Tool</li>
<li>Alpha Animals</li>
<li>Animal Food Restrictions</li>
<li>Auto Seller</li>
<li>LWM's Deep Storage</li>
<li>Better Pawn Control</li>
<li>Common Sense</li>
<li>Don't Drop Weapon</li>
<li>EdB Prepare Carefully</li>
<li>Food Alert</li>
<li>Gear Up And Go</li>
<li>Go Explore!</li>
<li>HolyWasher</li>
<li>Interaction Bubbles</li>
<li>Level Up!</li>
<li>[SS]Lovely Hair Style</li>
<li>Master of Cooking</li>
<li>Master of Crafting</li>
<li>Medical Tab</li>
<li>More Mechanoids</li>
<li>More Planning</li>
<li>[KV] More Trait Slots - 1.0</li>
<li>Nature is Beautiful v2.5 [1.0]</li>
<li>[RF] Pawns are Capable! [1.0]</li>
<li>Pick Up And Haul</li>
<li>QualityBuilder</li>
<li>Quarry 1.0</li>
<li>Realistic Rooms Lite</li>
<li>Recipe icons</li>
<li>Relations Tab</li>
<li>Replace Stuff</li>
<li>RimCities (Dev Build)</li>
<li>[KV] RimFridge - 1.0</li>
<li>Rimsenal - Rimhair</li>
<li>Rimworld Search Agency</li>
<li>RockSmooth Walls [1.0]</li>
<li>RimOverhaul - Without Ore and Gas System</li>
<li>RunAndGun</li>
<li>[KV] Show Hair With Hats or Hide All Hats - 1.0</li>
<li>Simple sidearms</li>
<li>Snap Out!</li>
<li>Spoons Hair Mod</li>
<li>Spotted</li>
<li>[KV] Trading Spot - 1.0</li>
<li>Tribal Headgear Retexturing</li>
<li>Veinminer R1.0</li>
<li>Work Tab</li>
<li>[KV] Faction Control - 1.0</li>
<li>Smart Medicine</li>
<li>OgreStack</li>
<li>Auto Caravan Equip (Autoseller Extension)</li>
<li>A Dog Said... Animal Prosthetics</li>
<li>Real Ruins</li>
<li>[RF] Realistic Planets [1.0]</li>
<li>Numbers</li>
<li>Circle And Oval</li>
<li>No Friendly Fire</li>
<li>PawnTargetFix</li>
<li>RimHUD</li>
<li>Door Mat R1.0</li>
<li>Tilled Soil</li>
<li>[1.0] Drugs are not Food</li>
<li>Animals Logic</li>
<li>ED-Embrasures</li>
<li>[FSF] Rain Washes Away Filth</li>
<li>Grazing Lands</li>
<li>[FSF] Growable Grass</li>
<li>99 Percent</li>
<li>Deconstruct Return Fix</li>
<li>Dubs Mint Menus</li>
<li>Dub's Paint Shop</li>
<li>Everybody Gets One</li>
<li>Faster Smoothing</li>
<li>Field Medic [1.0]</li>
<li>Incident Person Stat</li>
<li>InventoryTab</li>
<li>Defensive Positions</li>
<li>Days Matter</li>
<li>Carry Capacity Fix</li>
<li>Better Vanilla Masking</li>
<li>Armor Racks</li>
<li>Animal Gear</li>
<li>Animal Armor: Vanilla</li>
<li>[RF] Advanced Bridges [1.0]</li>
<li>Let's Trade! [1.0]</li>
<li>MiningCo. Spaceship</li>
<li>[KV] Adjustable Trade Ships - 1.0</li>
<li>Better Traders (x2)</li>
<li>Billy's Improved Caravan Formation</li>
<li>Large Faction Bases</li>
<li>Large Outpost</li>
<li>Large Prison Camp</li>
<li>More Harvest Designators!</li>
<li>More Sculpture</li>
<li>[XND] Turret Extensions</li>
<li>Try to find it!</li>
<li>Vanilla Fences</li>
<li>Vanilla Furniture Expanded</li>
<li>Vanilla Furniture Expanded - Production</li>
<li>Vanilla Furniture Expanded - Security</li>
<li>Vanilla Weapons Expanded</li>
<li>Vanilla Armour Expanded</li>
<li>Vanilla Apparel Expanded</li>
<li>Wall Light</li>
<li>Won hair_women </li>
<li>Won hair_men</li>
<li>Stuffed Floors</li>
<li>Stackable Chunks [1.0]</li>
<li>Sparkling Worlds - Core Mod [1.0] - Reduced features</li>
<li>Sparkling Worlds Addon - Blue Moon Corp [1.0] - Standalone Addon</li>
<li>Sparkling Worlds Addon - Mech Serum Crafting [1.0] - Standalone Addon</li>
<li>Sparkling Worlds Addon - More Events [1.0] - Standalone Addon</li>
<li>Simple Turrets</li>
<li>Simple Turrets - TE Patch</li>
<li>Mortar Accuracy</li>
<li>[WD] Simple Concrete 1.0</li>
<li>ShowModDesignators</li>
<li>Show Draftees Weapon</li>
<li>Shield Generators by Frontier Developments</li>
<li>Share The Load</li>
<li>SF Grim Reality</li>
<li>Map Reroll</li>
<li>NamesGalore</li>
<li>Pack Mules Extended</li>
<li>Progress Renderer</li>
<li>Quest Tab</li>
<li>Range Finder</li>
<li>RBSE Hardcore Edition</li>
<li>Remote Tech</li>
<li>Rimsenal - Enhanced Vanilla Pack</li>
<li>[KV] Save Storage, Outfit, Crafting, Drug, & Operation Settings - 1.0</li>
<li>Pharmacist</li>
<li>MendAndRecycle</li>
<li>Begone, Message!</li>
<li>Trade Ships Drop Spot</li>
<li>[KV] Change Skill Levels & Don't Lose Levels</li>
<li>DegradationMod</li>
<li>Timelapse 2000</li>
<li>Music on the Rim</li>
<li>[1.0] ExtendedInspectData</li>
<li>CCP's Stone Tweaks Vanilla</li>
<li>WearedArmorInfo</li>
<li>[KV] Change Dresser - 1.0</li>
<li>More Graphs</li>
<li>[KV] No Max Bills - 1.0</li>
<li>Better Workbench Management</li>
<li>RuntimeGC</li>
<li>Search and Destroy</li>
<li>Neuter Animals</li>
<li>[NL] Custom Portraits</li>
<li>[KV] Consolidated Traits - 1.0</li>
<li>CaravanColonistInfo</li>
<li>Additional Traits w/ Heroes + Gods</li>
<li>[KV] Impassable Map Maker - 1.0</li>
<li>Little Storage for LWM's Deep Storage</li>
<li>Loading In Progress</li>
<li>More Crashed Ship Parts</li>
<li>More Filters</li>
<li>Remove Death Amnesia</li>
<li>ResearchPal</li>
<li>Rimworld: Spartan Foundry</li>
<li>Roo's Accessory Hairstyles</li>
<li>Sometimes Raids Go Wrong</li>
<li>Use Bedrolls</li>
<li>[SF] Priority treatment 1.1</li>
<li>TicksPerSecond</li>
<li>Dubs Performance Analyzer</li>
<li>Cremate Auto Strip</li>
EDIT: I have been testing and going from what the log says I'd guess it's an issue generating relationships which happens more often at really high wealth (because more pawns are generated). I don't really have any mod that touches relationships though so I'm puzzled. It's happening somewhat rarely but still happens here and there when forcing a raid spawn.
EDIT2: This also only seems to be happening on Randy (I started using Randy a couple days ago, I played on Cassandra the whole game and this never happened and it's not happening after spawning a lot of raids with her). So... I guess it's on me or my mods, unlikely to be related to yours.
EDIT3: It finally happened with Cassandra, just took a lot longer. I'm seriously clueless here.