RimWorld

RimWorld

Fortification Industrial - Citadel
teacherclown 30 Nov, 2022 @ 10:28am
Bug Report: Critical errors
Ever since the recent update that added "more integration betwen expansions," I've been getting critical errors (see below) while loading RimWorld but only lose stability when using Development Mode. I paired down my mod list to include only Fortifications Industrial and its two dependencies and no more errors. I then added Fortification-Citadel and got the errors.

It appears all of the errors are related to an uninitialized DefOf, so possibly fixing that one line will help.

Note that I did unsubscribe (from both Fortification mods), restart, subscribe, restart, and still got the same errors. I currently cannot use Dev Mode while Citadel is active.


Here is the first few lines of the debug log from the menu screen - the full log is too long to post, but basically repeats the errors for different buildings:
    RimWorld 1.4.3563 rev533UnityEngine.StackTraceUtility:ExtractStackTrace ()Verse.Log:Message (string)RimWorld.VersionControl:LogVersionNumber ()Verse.Root:CheckGlobalInit ()Verse.Root:Start ()Verse.Root_Entry:Start ()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 Fortification.AlongWayDamage_CompPropertiesUnityEngine.StackTraceUtility:ExtractStackTrace ()Verse.Log:Warning (string)RimWorld.DefOfHelper:EnsureInitializedInCtor (System.Type)RimWorld.DamageDefOf:.cctor ()Fortification.AlongWayDamage_CompProperties:.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)Verse.DirectXmlToObject:ObjectFromXml<Verse.CompProperties> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ListFromXml<Verse.CompProperties> (System.Xml.XmlNode)Verse.DirectXmlToObject:ListFromXmlReflection<Verse.CompProperties> (System.Xml.XmlNode)Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)Verse.DirectXmlLoader:DefFromNode (System.Xml.XmlNode,Verse.LoadableXmlAsset)Verse.LoadedModManager:ParseAndProcessXML (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 ()Could not find a type named FortificationFacility.Building_TurretCapacityUnityEngine.StackTraceUtility:ExtractStackTrace ()Verse.Log:Error (string)Verse.ParseHelper:ParseType (string)Verse.ParseHelper:FromString<System.Type> (string)Verse.DirectXmlToObject:ObjectFromXml<System.Type> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Type> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)Verse.DirectXmlLoader:DefFromNode (System.Xml.XmlNode,Verse.LoadableXmlAsset)Verse.LoadedModManager:ParseAndProcessXML (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 ()Could not find type named FortificationFacility.CompProperties_ForceTargetable from node <li Class="FortificationFacility.CompProperties_ForceTargetable" />UnityEngine.StackTraceUtility:ExtractStackTrace ()Verse.Log:Error (string)Verse.DirectXmlToObject:ClassTypeOf<Verse.CompProperties> (System.Xml.XmlNode)Verse.DirectXmlToObject:ObjectFromXml<Verse.CompProperties> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ListFromXml<Verse.CompProperties> (System.Xml.XmlNode)Verse.DirectXmlToObject:ListFromXmlReflection<Verse.CompProperties> (System.Xml.XmlNode)Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)Verse.DirectXmlLoader:DefFromNode (System.Xml.XmlNode,Verse.LoadableXmlAsset)Verse.LoadedModManager:ParseAndProcessXML (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 ()
< >
Showing 1-2 of 2 comments
🏃‍♂ 15 Aug, 2023 @ 2:38am 
Same err
something that happened when i added the mod to my mod list it would not let me spawn items in dev mode any more please help me
< >
Showing 1-2 of 2 comments
Per page: 1530 50