RimWorld
Crimson - WW2 British Defense
Pasaway 2024 年 11 月 18 日 上午 2:25
Error
https://gist.github.com/HugsLibRecordKeeper/c050e0cd966848bc981e3e12a53d37b4

C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\3367379703\Defs\ThingDefs_Buildings/Buildings_Security.xml: unknown parse failure
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
XmlExtensions.CustomXmlLoader:CombineIntoUnifiedXMLMirror (System.Collections.Generic.List`1<Verse.LoadableXmlAsset>,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.CombineIntoUnifiedXML_Patch4 (System.Collections.Generic.List`1<Verse.LoadableXmlAsset>,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_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 ()
< >
目前顯示第 1-3 則留言,共 3
I just had this same error, couldn't figure out why it happens. the weapons seem to work fine regardless so far
its an open comment on line 1. i closed it and it went away, i told the dev in the main comment section because im inexperienced with rimworld and xmls in general. i have no idea if it serves a hidden function. in theory at least it shouldnt, according to xml documentation on comments
if you want to try the potential fix, open the xml in the app of your choice, find the <!-- and add --> after it

(i dont know if it works outside the console output because my game is f'd :Asa: )
< >
目前顯示第 1-3 則留言,共 3
每頁顯示: 1530 50