RimWorld

RimWorld

Rim-Effect: Core
Bug Report: AllowedWorkTypes error using VFE - Mechanoids and Rim-Effect together
https://gist.github.com/HugsLibRecordKeeper/e06006093abe1be5e708d372cbf60aed

XML error: <allowedWorkTypes /> doesn't correspond to any field in type CompProperties_MachineChargingStation. Context: <li Class="VFE.Mechanoids.CompProperties_MachineChargingStation"><pawnToSpawn>RE_Mechanoids_LOKI</pawnToSpawn><allowedWorkTypes /><extraChargingPower>1000</extraChargingPower><spawnWithWeapon>ME_LokiPistol</spawnWithWeapon><hoursToRecharge>20</hoursToRecharge></li>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.DirectXmlToObject:ObjectFromXml<Verse.CompProperties> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ListFromXml<Verse.CompProperties> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ListFromXmlReflection<Verse.CompProperties> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) Verse.DirectXmlLoader:Verse.DirectXmlLoader.DefFromNode_Patch2 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ParseAndProcessXML_Patch3 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_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 ()

XML error: <allowedWorkTypes /> doesn't correspond to any field in type CompProperties_MachineChargingStation. Context: <li Class="VFE.Mechanoids.CompProperties_MachineChargingStation"><pawnToSpawn>RE_Mechanoids_YMIR</pawnToSpawn><allowedWorkTypes /><extraChargingPower>4400</extraChargingPower><spawnWithWeapon>RE_YMIRMassAccelerator</spawnWithWeapon><hoursToRecharge>48</hoursToRecharge></li>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.DirectXmlToObject:ObjectFromXml<Verse.CompProperties> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ListFromXml<Verse.CompProperties> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ListFromXmlReflection<Verse.CompProperties> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) Verse.DirectXmlLoader:Verse.DirectXmlLoader.DefFromNode_Patch2 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ParseAndProcessXML_Patch3 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_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 ()
< >
Showing 1-3 of 3 comments
Apologies to the mod authors if the formatting I used here is messy, or if I should have uploaded this error report someplace else
RainingBullets 28 May, 2023 @ 10:06am 
I had the same problem. The culprit for me was one of the patches in Combat Extended for Rim-Effect Core. CE was adding <allowedWorkTypes /> to "RE_Mechanoids_LOKIBase" and "RE_Mechanoids_YMIRBase" which caused the errors. If you have both mods you could wait for Combat Extended dev to fix it or you could edit out the fields yourself. The problematic patch is in "ME_Machine.xml".
Last edited by RainingBullets; 28 May, 2023 @ 12:50pm
Originally posted by RainingBullets:
I had the same problem. The culprit for me was one of the patches in Combat Extended for Rim-Effect Core. CE was adding <allowedWorkTypes /> to "RE_Mechanoids_LOKIBase" and "RE_Mechanoids_YMIRBase" which caused the errors. If you have both mods you could wait for Combat Extended dev to fix it or you could edit out the fields yourself. The problematic patch is in "ME_Machine.xml".
Dang, you're totally right. Any chances you have already brought this up to the CE modders? I'll forward this to the CE discord or at least check if the issue has been reported there. Thanks for the response :steamthumbsup:
Last edited by 𝐖𝐑𝐄𝐓𝐂𝐇𝐄𝐃; 28 May, 2023 @ 9:27pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50