边缘世界 RimWorld

边缘世界 RimWorld

Kurin HAR Edition
Haiys 2021 年 7 月 24 日 上午 10:32
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)
< >
正在显示第 1 - 3 条,共 3 条留言
MaroonToon  [开发者] 2021 年 8 月 31 日 下午 7:39 
no clue
NBThunderbolt 2021 年 9 月 6 日 下午 6:02 
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 2021 年 9 月 14 日 下午 7:25 
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!
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50