RimWorld

RimWorld

ToolkitUtils
This topic has been locked
EliasRipley Aug 28, 2023 @ 3:06am
1.4 Error
Confirmed that these error only appears when this mod installed.
Exception loading list element Verse.DefModExtension from XML: System.MissingMethodException: Default constructor not found for type Verse.DefModExtension at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x0007b] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Activator.CreateInstance (System.Type type) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Verse.DirectXmlToObject.ObjectFromXml[T] (System.Xml.XmlNode xmlRoot, System.Boolean doPostLoad) [0x0040b] in <95de19971c5d40878d8742747904cdcd>:0 at Verse.DirectXmlToObject.ListFromXml[T] (System.Xml.XmlNode listRootNode) [0x0011b] in <95de19971c5d40878d8742747904cdcd>:0 XML: <modExtensions><li class="SirRandoo.ToolkitUtils.HealExtension"><ShouldHeal>false</ShouldHeal></li></modExtensions> UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.DirectXmlToObject:ListFromXml<Verse.DefModExtension> (System.Xml.XmlNode) Verse.DirectXmlToObject:ListFromXmlReflection<Verse.DefModExtension> (System.Xml.XmlNode) Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.DefModExtension>> (System.Xml.XmlNode,bool) Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.DefModExtension>> (System.Xml.XmlNode,bool) Verse.DirectXmlToObject:ObjectFromXml<Verse.HediffDef> (System.Xml.XmlNode,bool) Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.HediffDef> (System.Xml.XmlNode,bool) (wrapper dynamic-method) Verse.DirectXmlLoader:Verse.DirectXmlLoader.DefFromNode_Patch3 (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 ()
Exception filling window for Verse.EditWindow_Log: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.Queue`1+Enumerator[T].MoveNext () [0x00013] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 at (wrapper dynamic-method) Verse.EditWindow_Log.Verse.EditWindow_Log.DoMessagesListing_Patch1(Verse.EditWindow_Log,UnityEngine.Rect) at Verse.EditWindow_Log.DoWindowContents (UnityEngine.Rect inRect) [0x00195] in <95de19971c5d40878d8742747904cdcd>:0 at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int) UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) (wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-1 of 1 comments
randoo  [developer] Aug 30, 2023 @ 2:35am 
Exception #2 is typically caused by Twitch Toolkit logging to the game's log file, which doesn't really like the loosely "threaded" nature of Twitch Toolkit.

I couldn't reproduce exception #1, but it's typically caused by a mod putting Utils, or the game as a whole, in a "corrupt" state, so Defs have issues loading. If only Utils is having issues, it may be that Steam didn't download the "community edition" swap correctly.
< >
Showing 1-1 of 1 comments
Per page: 1530 50