RimWorld

RimWorld

Character Editor
Possible bug - I get this error upon startup of the game
I sometimes get this error upon startup:
I'm confused...

LWM said i should go here and talk to you guys, as it apparently is a problem with your mod, not LWM's mod? What do i know...

Originally posted by ErRoR:
Could not load reference to Verse.ThingDef named Zombrella
Verse.Log:Error(String, Boolean)
Verse.ScribeExtractor:DefFromNode(XmlNode)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.GenGeneric:InvokeStaticGenericMethod(Type, Type, String, Object[])
Verse.ScribeExtractor:DefFromNodeUnsafe(XmlNode)
Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[])
Verse.Scribe_Collections:Look(HashSet`1&, Boolean, String, LookMode)
Verse.Scribe_Collections:Look(HashSet`1&, String, LookMode)
Verse.ThingFilter:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Deep:Look(ThingFilter&, Boolean, String, Object[])
Verse.Scribe_Deep:Look(ThingFilter&, String, Object[])
LWM.DeepStorage.DefChangeTracker:ExposeSettingDeep(String, String, ThingFilter&)
LWM.DeepStorage.Dialog_DS_Settings:ExposeDSUSettings(IEnumerable`1)
LWM.DeepStorage.Settings:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Deep:Look(Settings&, Boolean, String, Object[])
Verse.Scribe_Deep:Look(Settings&, String, Object[])
Verse.LoadedModManager:ReadModSettings(String, String)
LWM.DeepStorage.Settings:DefsLoaded()
LWM.DeepStorage.LWM_Hug:DefsLoaded()
HugsLib.HugsLibController:OnDefsLoaded()
HugsLib.HugsLibController:LoadReloadInitialize()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
< >
Showing 1-7 of 7 comments
Copper Boltwire 14 Aug, 2020 @ 11:34am 
Another bug i get that keeps increasing EVERY TICK when ever i click the "Character" Menu button.

Originally posted by ErRoR:
Exception filling window for CharacterEditor.MainTabWindow_CharacterEditor: System.NullReferenceException: Object reference not set to an instance of an object
at CharacterEditor.EditorUI.PreselectPawn () [0x001d3] in <cec4aa11ed5041d19a6ec4826a12b44a>:0
at CharacterEditor.Editor.TryStartEditor (Verse.Pawn p, CharacterEditor.CharacterEditorCascet ceCascet, CharacterEditor.CharacterEditorGrave ceGrave) [0x00053] in <cec4aa11ed5041d19a6ec4826a12b44a>:0
at CharacterEditor.MainTabWindow_CharacterEditor.DoWindowContents (UnityEngine.Rect inRect) [0x00001] in <cec4aa11ed5041d19a6ec4826a12b44a>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x00165] in <7b345446a85d4ed599f9c604ae61854b>:0
Verse.Log:Error(String, Boolean)
Verse.Window:InnerWindowOnGUI(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
VOID  [developer] 14 Aug, 2020 @ 12:14pm 
seems that the LWM mod interfere with 'ContaintedThing' member, which is of course used in cascets like Zombrella. thats why you get those errors.
in other words when you use LWM you can't use the cascet from character editor. i will make some exception handling for this case, so you won't see the errors.
VOID  [developer] 14 Aug, 2020 @ 12:24pm 
tried LWM with v1.2 and actually i don't see any of the errors you posted, but i will add some handling anyway, just in case some other mods cause that.
Last edited by VOID; 14 Aug, 2020 @ 12:24pm
Copper Boltwire 14 Aug, 2020 @ 12:29pm 
Awesome!
YEah, it's a VERY weird error...
VOID  [developer] 14 Aug, 2020 @ 12:35pm 
are you probably using a mod that removes cascets from game?
VOID  [developer] 14 Aug, 2020 @ 12:46pm 
made an update for v1.2. try it out, if that helps.
Copper Boltwire 14 Aug, 2020 @ 12:56pm 
No, no casket removal here
< >
Showing 1-7 of 7 comments
Per page: 1530 50