RimWorld

RimWorld

Kurin HAR Edition
Haiys 24 Jul, 2021 @ 10:32am
Bug?
Hello, I'm running Harmony, Visual exceptions, core, royalty, ideology, hugslib, HAR, and Kurin and I'm getting these errors. It only occurs when I enable Kurin HAR.

Exception in Verse.DefInjectionPackage.AddDataFromFile: System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <0f9699188f0c414ea6fb5557f5c16d15>:0
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo (System.String res) [0x00017] in <0f9699188f0c414ea6fb5557f5c16d15>:0
at System.Xml.XmlTextReaderImpl.ParseDocumentContent () [0x0035d] in <0f9699188f0c414ea6fb5557f5c16d15>:0
at System.Xml.XmlTextReaderImpl.Read () [0x0008c] in <0f9699188f0c414ea6fb5557f5c16d15>:0
at System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader r, System.Xml.Linq.LoadOptions o) [0x00349] in <a9ef27d60e3144519c0741b6584ba229>:0
at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader reader, System.Xml.Linq.LoadOptions options) [0x00080] in <a9ef27d60e3144519c0741b6584ba229>:0
at RimWorld.IO.VirtualFileInfoExt.LoadAsXDocument (RimWorld.IO.VirtualFile file) [0x0000d] in <842a7a129d554204bf93f11a26f1d770>:0
at Verse.DefInjectionPackage.AddDataFromFile (RimWorld.IO.VirtualFile file, System.Boolean& xmlParseError) [0x00003] in <842a7a129d554204bf93f11a26f1d770>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.RunloopExceptionHandler:Transpiler(IEnumerable`1 instructions)
< >
Showing 1-3 of 3 comments
MaroonToon  [developer] 31 Aug, 2021 @ 7:39pm 
no clue
NBThunderbolt 6 Sep, 2021 @ 6:02pm 
Found an interesting bug, If you have anything interact with apparel from this mod, it drops the quality to "Normal" instantly. Now for the fun part, it doesn't spawn an error code.
Ket 14 Sep, 2021 @ 7:25pm 
I found what is causing this error.

294100\2326430787\Languages\English\DefInjected\ThingDef\Apparel\Apparel_Stocking.xml is fully commented out, making it look like an empty .xml file.

Not a game breaking problem, if the error bugs you you can just remove the .xml file.

@MaroonToon dunno if the commented out file is on purpose though!
< >
Showing 1-3 of 3 comments
Per page: 1530 50