RimWorld
LWM's Deep Storage
Winnie Xi Jin Ping 11 DIC 2021 a las 4:48 p. m.
[1.3] Bug while saving settings - FIXED
While saving storage settings, this error appears:
Exception while saving LWM.DeepStorage.Settings: System.NullReferenceException: Object reference not set to an instance of an object
at LWM.DeepStorage.Dialog_DS_Settings.ExposeDSUSettings (System.Collections.Generic.IEnumerable`1[T] units) [0x000dd] in <c4aa24530bb64a6b97e2ebfd4f39f9c1>:0
at LWM.DeepStorage.Settings.ExposeData () [0x000fe] in <c4aa24530bb64a6b97e2ebfd4f39f9c1>:0
at Verse.Scribe_Deep.Look[T] (T& target, System.Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00167] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Scribe_Deep:Look<Verse.ModSettings> (Verse.ModSettings&,bool,string,object[])
Verse.Scribe_Deep:Look<Verse.ModSettings> (Verse.ModSettings&,string,object[])
Verse.LoadedModManager:WriteModSettings (string,string,Verse.ModSettings)
Verse.ModSettings:Write ()
Verse.Mod:WriteSettings ()
RimWorld.Dialog_ModSettings:PreClose ()
(wrapper dynamic-method) Verse.WindowStack:Verse.WindowStack.TryRemove_Patch1 (Verse.WindowStack,Verse.Window,bool)
(wrapper dynamic-method) Verse.Window:Verse.Window.Close_Patch2 (Verse.Window,bool)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

And when you restart the game, it discards all saved settings.

Courtesy of @Zombee Bacon here's the fix for us at least.
Move LWM Deep Storage above VE Mechanoids.
Última edición por Winnie Xi Jin Ping; 12 DIC 2021 a las 10:53 a. m.
< >
Mostrando 1-7 de 7 comentarios
Lamar 12 DIC 2021 a las 12:50 a. m. 
Exact same issue here
Zombee Bacon 12 DIC 2021 a las 8:53 a. m. 
I had a similar issue with the latest update to Vanilla Mechanoids Expanded. It's not exactly the same as yours (different error messages), but I was also losing all saved settings. Re-arranging the mod-order so that LWM Deep Storage was above the Vanilla Mechanoids Expanded in the load-order resolved the issue.

Perhaps you can figure out which mod is causing your issue, and load LWM before it?
Winnie Xi Jin Ping 12 DIC 2021 a las 10:54 a. m. 
Heyo it worked! Updated the desc and title!
ꙮktober 13 DIC 2021 a las 5:28 p. m. 
Unfortunately having this issue too and this fix didn't work :/
Winnie Xi Jin Ping 13 DIC 2021 a las 6:40 p. m. 
I'm guessing something has altered the saving system, because even a map generation mod throws up saving errors. I sadly don't want to take apart my mod list looking for it. Do you want to try and do that to see if that'll help?
ꙮktober 14 DIC 2021 a las 5:27 p. m. 
I've ran it with just base game, the DLCs, Deep Storage, the GUI, and Deep Storage Plus and have the same result. I've also ran it with Vanilla Expanded props and functional VE props, which is based on Deep Storage, and those props often don't even have a working "accept" button when changing settings.

So I'm not sure what's up, but both functional vanilla expanded props and the saving system for Deep Storage broke at the same time and still don't function even when keeping it barebones.

Oh well, can't expect 100% perfection from mods. Just happy that this exists.
Winnie Xi Jin Ping 14 DIC 2021 a las 6:15 p. m. 
you can do what I did before I found the fix. I wrote a custom patch that just patches it with the settings I wanted and deleted the defs of things I didn't want
< >
Mostrando 1-7 de 7 comentarios
Por página: 1530 50