RimWorld

RimWorld

The Dead Man's Switch
TheRedPriest Jan 28, 2024 @ 7:52am
Bugs and Errors
Thought I'd make a discussion to centralize issues and to actually allow us to post github links. To start off, the github link of my error cascade caused by the 356 Frontier faction trying to spawn in map:
https://gist.github.com/HugsLibRecordKeeper/3e91afda6659148d92772a3500e3097c
< >
Showing 1-15 of 154 comments
CrackaJack Jan 31, 2024 @ 8:37am 
not 100% sure its from this mod:
Tried to use an uninitialized DefOf of type DamageDefOf. DefOfs are initialized right after all defs all loaded. Uninitialized DefOfs will return only nulls. (hint: don't use DefOfs as default field values in Defs, try to resolve them in ResolveReferences() instead) Debug info: DirectXmlToObject is currently instantiating an object of type DMS.CompProperties_AbilityDirectionalExplosion
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
RimWorld.DefOfHelper:EnsureInitializedInCtor (System.Type)
RimWorld.DamageDefOf:.cctor ()
DMS.CompProperties_AbilityDirectionalExplosion:.ctor ()
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
System.RuntimeType:CreateInstanceMono (bool)
System.RuntimeType:CreateInstanceSlow (bool,bool,bool,System.Threading.StackCrawlMark&)
System.RuntimeType:CreateInstanceDefaultCtor (bool,bool,bool,System.Threading.StackCrawlMark&)
System.Activator:CreateInstance (System.Type,bool)
System.Activator:CreateInstance (System.Type)
XmlExtensions.CustomXmlLoader:ObjectFromXml<Verse.AbilityCompProperties> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ListFromXml<Verse.AbilityCompProperties> (System.Xml.XmlNode,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ListFromXmlReflection<Verse.AbilityCompProperties> (System.Xml.XmlNode,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ObjectFromXml<System.Collections.Generic.List`1<Verse.AbilityCompProperties>> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.AbilityCompProperties>> (System.Xml.XmlNode,bool)
XmlExtensions.CustomXmlLoader:ObjectFromXml<RimWorld.AbilityDef> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ObjectFromXmlReflection<RimWorld.AbilityDef> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) Verse.DirectXmlLoader:Verse.DirectXmlLoader.DefFromNode_Patch5 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ParseAndProcessXML_Patch2 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
CrackaJack Feb 5, 2024 @ 4:32pm 
Pawn generation error: Generated pawn incapable of required skill: Cooking Too many tries (12000), returning null. Generation request: kindDef=DMS_Squad_ServiceMan, context=NonPlayer, faction=433rd Frontier Division, tile=-1, forceGenerateNewPawn=False, allowedDevelopmentalStages=Newborn, allowDead=False, allowDowned=True, canGeneratePawnRelations=True, mustBeCapableOfViolence=False, colonistRelationChanceFactor=1, forceAddFreeWarmLayerIfNeeded=False, allowGay=True, prohibitedTraits=, allowFood=True, allowAddictions=True, inhabitant=False, certainlyBeenInCryptosleep=False, biocodeWeaponChance=0, validatorPreGear=, validatorPostGear=, fixedBiologicalAge=, fixedChronologicalAge=, fixedGender=, fixedLastName=Shepard, fixedBirthName=
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateNewPawnInternal_Patch2 (Verse.PawnGenerationRequest&)
Verse.PawnGenerator:GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch5 (Verse.PawnGenerationRequest)
(wrapper dynamic-method) RimWorld.PregnancyUtility:RimWorld.PregnancyUtility.ApplyBirthOutcome_Patch0 (RimWorld.OutcomeChance,single,RimWorld.Precept_Ritual,System.Collections.Generic.List`1<Verse.GeneDef>,Verse.Pawn,Verse.Thing,Verse.Pawn,Verse.Pawn,RimWorld.LordJob_Ritual,RimWorld.RitualRoleAssignments)
Verse.Hediff_LaborPushing:PreRemoved ()
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch1 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch0 (Verse.Pawn)
(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch0 (RimWorld.Planet.WorldPawns)
RimWorld.Planet.World:WorldTick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
CrackaJack Feb 5, 2024 @ 4:34pm 
that one slowed the game to zero^^
CrackaJack Feb 5, 2024 @ 4:49pm 
its accomplice:
Could not generate a pawn after 7000 tries. Last error: Generated pawn incapable of required skill: Cooking Ignoring scenario requirements.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateNewPawnInternal_Patch2 (Verse.PawnGenerationRequest&)
Verse.PawnGenerator:GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch5 (Verse.PawnGenerationRequest)
(wrapper dynamic-method) RimWorld.PregnancyUtility:RimWorld.PregnancyUtility.ApplyBirthOutcome_Patch0 (RimWorld.OutcomeChance,single,RimWorld.Precept_Ritual,System.Collections.Generic.List`1<Verse.GeneDef>,Verse.Pawn,Verse.Thing,Verse.Pawn,Verse.Pawn,RimWorld.LordJob_Ritual,RimWorld.RitualRoleAssignments)
Verse.Hediff_LaborPushing:PreRemoved ()
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch1 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch0 (Verse.Pawn)
(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch0 (RimWorld.Planet.WorldPawns)
RimWorld.Planet.World:WorldTick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
CrackaJack Feb 5, 2024 @ 4:49pm 
aaand
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)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch5 (Verse.PawnGenerationRequest)
(wrapper dynamic-method) RimWorld.PregnancyUtility:RimWorld.PregnancyUtility.ApplyBirthOutcome_Patch0 (RimWorld.OutcomeChance,single,RimWorld.Precept_Ritual,System.Collections.Generic.List`1<Verse.GeneDef>,Verse.Pawn,Verse.Thing,Verse.Pawn,Verse.Pawn,RimWorld.LordJob_Ritual,RimWorld.RitualRoleAssignments)
Verse.Hediff_LaborPushing:PreRemoved ()
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch1 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch0 (Verse.Pawn)
(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch0 (RimWorld.Planet.WorldPawns)
RimWorld.Planet.World:WorldTick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
TheRedPriest Feb 6, 2024 @ 12:30pm 
You should probably post the full log, but that is very much the error cascade I was experiencing.
CrackaJack Feb 6, 2024 @ 12:33pm 
exactly, you did that already(with verbose logging on..? :D) also my log was just full of those, and 2 gb large
CrackaJack Feb 7, 2024 @ 5:57am 
might be HAR, or big and small genes? maybe its gone if you guys forced only baseliners to spawn for the DMS faction
rocketdummy Feb 11, 2024 @ 9:51pm 
Tunguska and 2A38M ammo is incompatible with TMC Eastern Armor Export ammo, since the ammoset for this mod is "AmmoSet_30x165mm" but the other mod is "AmmoSet_30x165mmSoviet"
NOBLE_313 Feb 22, 2024 @ 12:08am 
well i have defeated two of the bosses now i dont have any idea how to get t/r component and there isnt any other boss for me to defeat can i get a help here?
CrackaJack Feb 22, 2024 @ 1:58am 
no need to kill a boss for those, they show up as quest rewards and such
Sided_locket Mar 1, 2024 @ 1:20am 
Originally posted by CrackaJack:
aaand
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)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch5 (Verse.PawnGenerationRequest)
(wrapper dynamic-method) RimWorld.PregnancyUtility:RimWorld.PregnancyUtility.ApplyBirthOutcome_Patch0 (RimWorld.OutcomeChance,single,RimWorld.Precept_Ritual,System.Collections.Generic.List`1<Verse.GeneDef>,Verse.Pawn,Verse.Thing,Verse.Pawn,Verse.Pawn,RimWorld.LordJob_Ritual,RimWorld.RitualRoleAssignments)
Verse.Hediff_LaborPushing:PreRemoved ()
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch1 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch0 (Verse.Pawn)
(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch0 (RimWorld.Planet.WorldPawns)
RimWorld.Planet.World:WorldTick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

excuse me is it already fixed ? I get that error too, its so annoying I already got thriveful colonies it's a shame if I need to make a new one :(
CrackaJack Mar 1, 2024 @ 3:02am 
i havent seen it since, i believe its fixed but they didnt mention it
Cirdain Mar 2, 2024 @ 3:31pm 
Happens when my pawn tries to birth a mechadroid, timer resets without the birth finishing and the pawn is stuck there trying to birth the mechadroid

JobDriver threw exception in toil FinishRecipeAndStartStoringProduct's initAction for pawn Alisa driver=JobDriver_DoBill (toilIndex=29) driver.job=(DoBill (Job_192518) A=Thing_DMS_MechGestatorSamll755699)
System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.GenRecipe.Verse.GenRecipe.PostProcessProduct_Patch4(Verse.Thing,Verse.RecipeDef,Verse.Pawn,RimWorld.Precept_ThingStyle,Verse.ThingStyleDef,System.Nullable`1<int>)
at Verse.GenRecipe+<FinalizeGestatedPawns>d__1.MoveNext () [0x00028] in <cd7169108ea74757aa50c5b33d275c15>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Verse.AI.Toils_Recipe+<>c__DisplayClass3_0.<FinishRecipeAndStartStoringProduct>b__0 () [0x00173] in <cd7169108ea74757aa50c5b33d275c15>:0
at CraftWithColor.ToilsRecipe_FinishRecipeAndStartStoringProduct_Patch+<>c__DisplayClass0_0.<Postfix>b__0 () [0x00061] in <7bb8da4247a740f1a21915de04461738>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
(wrapper dynamic-method) Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.Toils_Recipe/<>c__DisplayClass2_0:<DoRecipeWork>b__1 ()
Verse.AI.JobDriver:DriverTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()
XBdzw Mar 10, 2024 @ 3:38am 
如果只看那个我评论区说的bug的话,可以参考:
垃圾桶 15 threw exception in WorkGiver VFE_Mechanoids_RepairMachine: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.RefuelWorkGiverUtility.FindEnoughReservableThings (Verse.Pawn pawn, Verse.IntVec3 rootCell, Verse.IntRange desiredQuantity, System.Predicate`1[T] validThing) [0x00076] in <cd7169108ea74757aa50c5b33d275c15>:0
at VFE.Mechanoids.AI.WorkGivers.WorkGiver_RepairMachine.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x000aa] in <329634eb1a994d8ba9cdc344350f1f17>:0
at RimWorld.JobGiver_Work+<>c__DisplayClass3_1.<TryIssueJobPackage>b__0 (Verse.Thing t) [0x00013] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.GenClosest+<>c__DisplayClass2_0.<ClosestThingReachable>b__0 (Verse.Thing t) [0x00034] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.GenClosest.<ClosestThing_Global>g__Process|5_0 (Verse.Thing t, Verse.GenClosest+<>c__DisplayClass5_0& ) [0x00047] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.GenClosest.ClosestThing_Global (Verse.IntVec3 center, System.Collections.IEnumerable searchSet, System.Single maxDistance, System.Predicate`1[T] validator, System.Func`2[T,TResult] priorityGetter) [0x00125] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.GenClosest.ClosestThingReachable (Verse.IntVec3 root, Verse.Map map, Verse.ThingRequest thingReq, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator, System.Collections.Generic.IEnumerable`1[T] customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32 searchRegionsMax, System.Boolean forceAllowGlobalSearch, Verse.RegionType traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions) [0x0014c] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) RimWorld.JobGiver_Work.RimWorld.JobGiver_Work.TryIssueJobPackage_Patch2(RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) RimWorld.JobGiver_Work:RimWorld.JobGiver_Work.TryIssueJobPackage_Patch2 (RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch5 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.JobDriver:EndJobWith (Verse.AI.JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail ()
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
< >
Showing 1-15 of 154 comments
Per page: 1530 50