RimWorld

RimWorld

ↁ House Sanguin
This topic has been locked
[Bug Report] Unresolved Cross-Reference with Animal Gear
There seems to be an issue when running Animal Gear with House Sanguin mod. When the two are loaded together I get this error:

Could not find type named GiddyUpCore.DrawingOffsetPatch from node <li Class="GiddyUpCore.DrawingOffsetPatch"><northOffsetCSV>0,0,-0.2</northOffsetCSV><southOffsetCSV>0,0,-0.1</southOffsetCSV><eastOffsetCSV>-0.1,0,-0.1</eastOffsetCSV><westOffsetCSV>0.1,0,-0.1</westOffsetCSV></li> UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.DirectXmlToObject:ClassTypeOf<Verse.DefModExtension> (System.Xml.XmlNode) Verse.DirectXmlToObject:ObjectFromXml<Verse.DefModExtension> (System.Xml.XmlNode,bool) Verse.DirectXmlToObject:ListFromXml<Verse.DefModExtension> (System.Xml.XmlNode) Verse.DirectXmlToObject:ListFromXmlReflection<Verse.DefModExtension> (System.Xml.XmlNode) Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.DefModExtension>> (System.Xml.XmlNode,bool) Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.DefModExtension>> (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 () Exception loading list element Verse.DefModExtension from XML: System.MissingMethodException: Default constructor not found for type Verse.DefModExtension at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x0007b] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Activator.CreateInstance (System.Type type) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Verse.DirectXmlToObject.ObjectFromXml[T] (System.Xml.XmlNode xmlRoot, System.Boolean doPostLoad) [0x0040b] in <3126aca1aad041dcbdeda807cfe004bf>:0 at Verse.DirectXmlToObject.ListFromXml[T] (System.Xml.XmlNode listRootNode) [0x0011b] in <3126aca1aad041dcbdeda807cfe004bf>:0 XML: <modExtensions><li Class="GiddyUpCore.DrawingOffsetPatch"><northOffsetCSV>0,0,-0.2</northOffsetCSV><southOffsetCSV>0,0,-0.1</southOffsetCSV><eastOffsetCSV>-0.1,0,-0.1</eastOffsetCSV><westOffsetCSV>0.1,0,-0.1</westOffsetCSV></li></modExtensions> UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.DirectXmlToObject:ListFromXml<Verse.DefModExtension> (System.Xml.XmlNode) Verse.DirectXmlToObject:ListFromXmlReflection<Verse.DefModExtension> (System.Xml.XmlNode) Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.DefModExtension>> (System.Xml.XmlNode,bool) Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.DefModExtension>> (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 resolve cross-reference to Verse.BodyPartGroupDef named Tail (wanter=bodyPartGroups) UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.DirectXmlCrossRefLoader:TryResolveDef<Verse.BodyPartGroupDef> (string,Verse.FailMode,object) Verse.DirectXmlCrossRefLoader/WantedRefForList`1<Verse.BodyPartGroupDef>:TryResolve (Verse.FailMode) Verse.DirectXmlCrossRefLoader/<>c__DisplayClass16_1:<ResolveAllWantedCrossReferences>b__0 (Verse.DirectXmlCrossRefLoader/WantedRef) Verse.GenThreading/<>c__DisplayClass7_1`1<Verse.DirectXmlCrossRefLoader/WantedRef>:<ParallelForEach>b__0 (object) System.Threading.QueueUserWorkItemCallback:WaitCallback_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.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () System.Threading.ThreadPoolWorkQueue:Dispatch () System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Here is the mod load order that I used, I tried unloading House Sanguin and the error goes away, comes back when House Sanguin is loaded.

Harmony Core Royalty Ideology Biotech HugsLib EdB Prepare Carefully [SYR] Processor Framework Vanilla Expanded Framework Medieval Overhaul RimFantasy - Medieval Overhaul Edition Animal Gear House Sanguin

Hopefully this is something simple to address.
< >
Showing 1-7 of 7 comments
✶ Fitz001 ✶ 17 Jan, 2023 @ 1:21pm 
I'm getting the same error too

Could not resolve cross-reference to Verse.BodyPartGroupDef named Tail

https://gist.github.com/75caef2f37c10d0e5af16d1eec5113fe
DevDesigner  [developer] 17 Jan, 2023 @ 2:05pm 
try without EdB Prepare Carefully
DevDesigner  [developer] 17 Jan, 2023 @ 2:06pm 
and if it solves your problem use https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1874644848 instead
✶ Fitz001 ✶ 17 Jan, 2023 @ 3:02pm 
Originally posted by DevDesigner:
try without EdB Prepare Carefully

I am using character editor anyway, I do not use edb prepare carefully but I am receiving the error
✶ Fitz001 ✶ 17 Jan, 2023 @ 4:13pm 
Yeah still receiving the error with cut down modlist and updated med overhaul and vanilla expanded framework

https://gist.github.com/ad96b44af040705747ff8f100abf53da
Last edited by ✶ Fitz001 ✶; 17 Jan, 2023 @ 4:13pm
✶ Fitz001 ✶ 17 Jan, 2023 @ 4:23pm 
Temp fix:

removing the line

<apparel> <careIfWornByCorpse>false</careIfWornByCorpse> <bodyPartGroups> <li>Tail</li> </bodyPartGroups>

specifically only the tail section

From HorseApparel.xml in
"\294100\2918728041\Mods\Dylan.AnimalGear\Defs"

stops the error from occurring. Idk how this will change the gameplay but at least the error won't pop up when starting up.
Last edited by ✶ Fitz001 ✶; 17 Jan, 2023 @ 4:24pm
DevDesigner  [developer] 18 Jan, 2023 @ 12:30am 
I have removed it :steamthumbsup:
< >
Showing 1-7 of 7 comments
Per page: 1530 50