RimWorld
Digital Storage Unit
Incompatibility with Adaptive Storage Framework
Hey!

When attempting to use this mod with the ASF, I get errors on clicking or hovering over any input bus or access point. I'm not sure how to upload logs on steam, but here's the exact error:

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 189F2799]
at AdaptiveStorage.InspectTabUtility+<Modify>d__0.MoveNext () [0x0002e] in <3d4f924b8cbc4dc9b7ef751c36105b8a>:0
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000db] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at AdaptiveStorage.ExtensionMethods.ToPooledList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001d] in <3d4f924b8cbc4dc9b7ef751c36105b8a>:0
at AdaptiveStorage.InspectTabUtility.TryOpen (Verse.ISelectable selectable) [0x00014] in <3d4f924b8cbc4dc9b7ef751c36105b8a>:0
at AdaptiveStorage.HarmonyPatches.AutomaticallyOpenTab.Postfix (System.Object t) [0x0001c] in <3d4f924b8cbc4dc9b7ef751c36105b8a>:0
at RimWorld.SelectionDrawer.Notify_Selected (System.Object t) [0x00015] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX adaptive.storage.framework: Void AdaptiveStorage.HarmonyPatches.AutomaticallyOpenTab:Postfix(Object t)
at RimWorld.Selector.SelectInternal (System.Object obj, System.Boolean playSound, System.Boolean forceDesignatorDeselect) [0x001c7] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Selector.Select (System.Object obj, System.Boolean playSound, System.Boolean forceDesignatorDeselect) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Selector.SelectUnderMouse () [0x0008a] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Selector.HandleMapClicks () [0x00131] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000e6] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX Krkr.RocketMan: Void RocketMan.KeyBinder:OnGUI()
at Verse.Root.OnGUI () [0x00046] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)
< >
Εμφάνιση 1-6 από 6 σχόλια
Thank you, will check it!
Fixed, please test and confirm.
I'm not the OP but I'm having an issue too that spits out an error when clicking any of the DSU items. I've also confirmed that I have Digital Storage Unit mod loading *after* the Adaptive Storage Framework. Here's the error message:

Root level exception in OnGUI(): System.ArgumentNullException: Value cannot be null.
Parameter name: collection
[Ref 627C3BCD]
at System.ThrowHelper.ThrowArgumentNullException (System.ExceptionArgument argument) [0x00006] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00003] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at <0x41cc0420 + 0x00077> <unknown method>
at AdaptiveStorage.Fishery.CollectionExtensions.ToPooledList[T] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <3f9e7c9508054948822f7e5d62bf7cb9>:0
at AdaptiveStorage.InspectTabUtility.TryOpen (Verse.ISelectable selectable) [0x0001b] in <3f9e7c9508054948822f7e5d62bf7cb9>:0
at AdaptiveStorage.HarmonyPatches.AutomaticallyOpenTab.Postfix (System.Object t) [0x0001c] in <3f9e7c9508054948822f7e5d62bf7cb9>:0
at RimWorld.SelectionDrawer.Notify_Selected (System.Object t) [0x00015] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
- POSTFIX adaptive.storage.framework: Void AdaptiveStorage.HarmonyPatches.AutomaticallyOpenTab:Postfix(Object t)
at RimWorld.Selector.SelectInternal (System.Object obj, System.Boolean playSound, System.Boolean forceDesignatorDeselect) [0x001c7] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
at RimWorld.Selector.Select (System.Object obj, System.Boolean playSound, System.Boolean forceDesignatorDeselect) [0x00000] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
at RimWorld.Selector.SelectUnderMouse () [0x0008a] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
at RimWorld.Selector.HandleMapClicks () [0x0017c] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
- PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Extra:MultiSelectFloatMenu(List`1 ___selected)
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000eb] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
- PREFIX SmashPhil.SmashTools: Void SmashTools.MainMenuKeyBindHandler:HandleKeyInputs()
- POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.UIRoot_Play_UIRootOnGUI_Patch:Postfix()
- POSTFIX Krkr.RocketMan: Void RocketMan.KeyBinder:OnGUI()
at Verse.Root.OnGUI () [0x00046] in <23fcc63d7dfc4dd5b7e76f658fffe1ea>:0
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered()
- POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.Root_OnGUI_Patch:Postfix()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch2 (Verse.Root)
@Dea that error should've gotten fixed in a recent update and now contains a line number that doesn't seem to exist in ASF if I'm looking at the right place. Try unsubscribing and resubscribing to make sure it's all updated
Αναρτήθηκε αρχικά από bradson:
@Dea that error should've gotten fixed in a recent update and now contains a line number that doesn't seem to exist in ASF if I'm looking at the right place. Try unsubscribing and resubscribing to make sure it's all updated

Thanks for the reply/update, unfortunately I swapped around my modlist pretty drastically since I posted that update and decided to try the direcrt project rimfactory version of the digital storage stuff as a workaround so I can't give it a test now lol, sorry about that. I appreciate the reply though!
This issue still seems to exist, clean unsub and resub deleting folders and minimal load order. HugsLog https://gist.github.com/HugsLibRecordKeeper/cfd1796b7e712817add65d445f327fcd
< >
Εμφάνιση 1-6 από 6 σχόλια
Ανά σελίδα: 1530 50