RimWorld

RimWorld

Medieval Overhaul
[SOLVED] Cross Reference Error
Wondering if anyone could give me any insight

Could not resolve cross-reference: No Verse.ThingDef named Leather_Heavy found to give to RimWorld.ScenPart_StartingThing_Defined RimWorld.ScenPart_StartingThing_Defined
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.DirectXmlCrossRefLoader/WantedRefForObject:TryResolve (Verse.FailMode)
Verse.DirectXmlCrossRefLoader/<>c__DisplayClass15_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 ()
Last edited by ✶ Fitz001 ✶; 31 Jul, 2021 @ 5:01am
< >
Showing 1-2 of 2 comments
✶ Fitz001 ✶ 31 Jul, 2021 @ 5:01am 
Okay so I found the culprit to be Camping Tents

I discussed with the dev and it's because the tribal start scenario wants to give you heavy leather tents, however, this overhaul changes heavy leather.

So I believe it works fine if you don't use the tribal start. You can also just remove the tents from the scenario if you do want to use it.

But if you're sick of seeing the error code pop up every time you start the game go to

...\steamapps\workshop\content\294100\2407128339\1.3\Patches\Patch.xml

And then comment out/delete this block of code
<Operation Class="PatchOperationAdd"> <xpath>/Defs/ScenarioDef[defName="LostTribe"]/scenario/parts</xpath> <value> <li Class="ScenPart_StartingThing_Defined"> <def>StartingThing_Defined</def> <thingDef>Teepee</thingDef> <stuff>Leather_Heavy</stuff> <count>2</count> </li> <li Class="ScenPart_StartingThing_Defined"> <def>StartingThing_Defined</def> <thingDef>Canopy</thingDef> <stuff>Leather_Heavy</stuff> <count>3</count> </li> </value> </Operation>
< >
Showing 1-2 of 2 comments
Per page: 1530 50