Project-RimFactory-Revived icon indicating copy to clipboard operation
Project-RimFactory-Revived copied to clipboard

Dropdown menus do not work for this modlist after adding LWM deep storage

Open DoggoElDoggo opened this issue 1 year ago • 3 comments

MODLIST

Using this modlist:

https://pastebin.com/RQJMeR3y

ISSUE

After adding LWM's Deep Storage [https://steamcommunity.com/sharedfiles/filedetails/?id=1617282896] the dropdown menus for the shearer and digital storage unit do no work. Below are the logs pasted (I couldn't get the Hugslib Log Publisher to work in this instance, sorry if this is an issue.)

https://pastebin.com/RKrh9dYj

SPECIFIC ERROR

The specific red error that appears upon clicking either the shearer or the DSU dropdown units is this:

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object at SaveOurShip2.FixDropdownDisplay.Postfix (Verse.Designator des, Verse.ThingDef& __result) [0x00018] in <2920c93668bc4c5cb7890a54d631d960>:0 at (wrapper dynamic-method) RimWorld.Designator_Dropdown.RimWorld.Designator_Dropdown.GetDesignatorCost_Patch1(RimWorld.Designator_Dropdown,Verse.Designator) at RimWorld.Designator_Dropdown.SetupFloatMenu (UnityEngine.Event ev) [0x0004e] in :0 at RimWorld.Designator_Dropdown.ProcessInput (UnityEngine.Event ev) [0x0002c] in :0 at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func2[T,TResult] customActivatorFunc, System.Func2[T,TResult] highlightFunc, System.Func2[T,TResult] lowlightFunc) [0x00707] in :0 at RimWorld.ArchitectCategoryTab.DesignationTabOnGUI (Verse.Designator forceActivatedCommand) [0x0007a] in :0 at RimWorld.MainTabWindow_Architect.ExtraOnGUI () [0x00010] in :0 at Verse.WindowStack.WindowStackOnGUI () [0x00038] in :0 at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch3(RimWorld.UIRoot_Play) at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string) (wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)

Thank you for reading.

DoggoElDoggo avatar Mar 03 '24 13:03 DoggoElDoggo

I'm a bit at a loss here, why did you post this on die Rimfactory Github page?

You say this happened after adding DS, the log points at SaveOurShip2 as the cause

Sn1p3rr3c0n avatar Mar 03 '24 13:03 Sn1p3rr3c0n

Sorry for not stating this in the initial report - I tested it with all of the mods separately and there was no issue, so I presume the issue comes from some complex interaction within the modlist.

DoggoElDoggo avatar Mar 03 '24 13:03 DoggoElDoggo

~I still don't see the connection to Rimfactory.~

ups overread the part where this happens when selecting a rimfactory building.

But still it look like it is cause by SOS2. try to remove SOS2 and check if the issue persists

Sn1p3rr3c0n avatar Mar 03 '24 13:03 Sn1p3rr3c0n

I Can't reproduce that issue. I'm assuming this was already solved on the SOS2 side. Should that not be the case for you please let me know

Sn1p3rr3c0n avatar Jul 25 '24 17:07 Sn1p3rr3c0n