RimWorld

RimWorld

Orassans
BTFA 2 Feb, 2022 @ 1:12am
New error with Orassan Military Pants
Hello,

i'm trying to load my game from 2 weeks ago, but i'm receiving this error and cannot load :

Could not load reference to Verse.ThingDef named Apparel_OrassanMilitaryPants
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.ScribeExtractor:DefFromNode<Verse.ThingDef> (System.Xml.XmlNode)
Verse.Scribe_Defs:Look<Verse.ThingDef> (Verse.ThingDef&,string)
RimWorld.TaleData_Pawn:ExposeData ()
Verse.ScribeExtractor:SaveableFromNode<RimWorld.TaleData_Pawn> (System.Xml.XmlNode,object[])
Verse.Scribe_Deep:Look<RimWorld.TaleData_Pawn> (RimWorld.TaleData_Pawn&,bool,string,object[])
Verse.Scribe_Deep:Look<RimWorld.TaleData_Pawn> (RimWorld.TaleData_Pawn&,string,object[])
RimWorld.Tale_DoublePawn:ExposeData ()
Verse.ScribeExtractor:SaveableFromNode<RimWorld.Tale> (System.Xml.XmlNode,object[])
Verse.Scribe_Collections:Look<RimWorld.Tale> (System.Collections.Generic.List`1<RimWorld.Tale>&,bool,string,Verse.LookMode,object[])
Verse.Scribe_Collections:Look<RimWorld.Tale> (System.Collections.Generic.List`1<RimWorld.Tale>&,string,Verse.LookMode,object[])
RimWorld.TaleManager:ExposeData ()
Verse.ScribeExtractor:SaveableFromNode<RimWorld.TaleManager> (System.Xml.XmlNode,object[])
Verse.Scribe_Deep:Look<RimWorld.TaleManager> (RimWorld.TaleManager&,bool,string,object[])
Verse.Scribe_Deep:Look<RimWorld.TaleManager> (RimWorld.TaleManager&,string,object[])
Verse.Game:ExposeSmallComponents ()
(wrapper dynamic-method) Verse.Game:Verse.Game.LoadGame_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.SavedGameLoaderNow:Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow_Patch1 (string)
Verse.Root_Play/<>c:<Start>b__1_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 ()


i suppose it's coming from your last update as i don't have any errors than this one, but i can't know and i see noone posting about that so...

I hope it can be easily fixed

thx
< >
Showing 1-10 of 10 comments
MehZmeH 3 Feb, 2022 @ 10:25am 
Same. Think some other mod might be referencing "Apparel_OrassanMilitaryPants"?
RoarbeastAlpha 3 Feb, 2022 @ 12:11pm 
I Found in Military_Uniform.xml the defs for this is remarked, is this intentional
<!--<ThingDef ParentName="ApparelMakeableBase">
<defName>Apparel_OrassanMilitaryPants</defName>
<label>Orassan Military Pants</label>
<description>A uniform with smart fabric. It dynamically restricts blood flow to reduce the rate of bloodloss of the wearer.</description>
<recipeMaker>
<researchPrerequisite>ComplexClothing</researchPrerequisite>
</recipeMaker>
<graphicData>
<texPath>Things/Pawn/Humanlike/Apparel/shirtmilitary/OEPants</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<costList>
<ComponentSpacer>1</ComponentSpacer>
<CatLavenderCloth>20</CatLavenderCloth>
<Cloth>25</Cloth>
</costList>
<statBases>
<WorkToMake>2000</WorkToMake>
<MaxHitPoints>200</MaxHitPoints>
<Mass>.5</Mass>
<Flammability>1</Flammability>
<ArmorRating_Sharp>.1</ArmorRating_Sharp>
<ArmorRating_Blunt>.1</ArmorRating_Blunt>
<ArmorRating_Heat>.1</ArmorRating_Heat>
<Insulation_Cold>30</Insulation_Cold>
<Insulation_Heat>3</Insulation_Heat>
<EquipDelay>2</EquipDelay>
</statBases>
<apparel>
<bodyPartGroups>
<li>Legs</li>
</bodyPartGroups>
<layers>
<li>OnSkin</li>
</layers>
<tags>
<li>OrassanMilitary</li>
</tags>
<defaultOutfitTags>
<li>Worker</li>
<li>Soldier</li>
</defaultOutfitTags>
<canBeDesiredForIdeo>false</canBeDesiredForIdeo>
</apparel>
<colorGenerator Class="ColorGenerator_Options">
<options>
<li>
<only>(0.2,0.2,0.2)</only>
</li>
</options>
</colorGenerator>
<comps>
<li Class="CompProperties_CauseHediff_Apparel">
<hediff>HediffNoBleedArmor2</hediff>
<part>Body</part>
</li>
</comps>
</ThingDef>-->
BTFA 3 Feb, 2022 @ 11:39pm 
Well seen Roarbeast Alpha, i removed it and it fixed my error.
Now i have a new one with another mod, but one by one i'll finish by being able to load my game again :p
Thanks

EDIT : the shirt at the begining of the same file has
<bodyPartGroups>
<li>Torso</li>
<li>Shoulders</li>
<li>Arms</li>
<li>Legs</li>
which make it conflicting with the pant, we should remove legs i suppose ?
Last edited by BTFA; 4 Feb, 2022 @ 12:01am
RoarbeastAlpha 4 Feb, 2022 @ 12:31am 
BTFA, Excuse me but what did you do? I tried removing the remarks, it doesn't fix the problem, rather adding a new one, did you erase remarked code altogether?
BTFA 4 Feb, 2022 @ 1:58am 
i erased "<!--" at the begining and "-->" at the end of OrassanMilitaryPants
And "<li>Legs</li>" from OrassanMilitaryShirt

right now i have no more errors from orassans, but i still cant load my save cos i have an error from the last update of Factioncontrol XD
RoarbeastAlpha 4 Feb, 2022 @ 2:28am 
BTFA, Thank you
Diana (Kitty)  [developer] 6 Feb, 2022 @ 11:24am 
I got rid of the pants for a reason guys lol
The issue is that I left in the pants on a patch for another race; just comment out the pants on that patch if you're too impatient to wait for the update
scradam 13 Mar, 2022 @ 4:58pm 
For others still getting this error, I made the error go away by opening this file (your location may vary):
Steam\SteamApps\workshop\content\294100\1541519487\1.3\Defs\PawnKindDefs\Pawnkinds_Orassans.xml

and then commenting out line 643 (your line may vary):
from:
<li>Apparel_OrassanMilitaryPants</li>
to:
<!--<li>Apparel_OrassanMilitaryPants</li>-->

Diana suggests they got rid of the pants for a reason, but maybe an alternate option is to re-enable the pants via this location:
Steam\SteamApps\workshop\content\294100\1541519487\1.3\Defs\ThingDefs_Misc\Military_Uniform.xml

I guess they aren't supposed to have pants though. Not sure.
Falcon Grey 18 Mar, 2022 @ 12:29pm 
I'll just let it have the error and be patient! haha
< >
Showing 1-10 of 10 comments
Per page: 1530 50