-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Describe the bug
First of all, this is most likely a compatibility issue, but I couldn't pinpoint it to a particular mod.
The issue is that uninstalled buildings stored in very big shelves don't render properly. The icon is rendered, but the remaining part of the box is filled with a "Failed to draw thing entry!" label. The logs show a NullReferenceException in DSGUI_ListItem.DoDraw. Apparently, line
| DSGUI.Elements.DrawThingIcon(iconRect, Target, iconScale); |
To Reproduce
- Have the modlist from the log (probably)
- Place a Very Big Shelf from DeepStorage
- Place a bedroll on it
- Select a pawn and right-click the shelf
- See error label
Expected behavior
The normal menu should pop up, as it does with other shelves (including Very Big ones) that don't have uninstalled buildings in them
Additional context
Full log.
Error:
System.NullReferenceException: Object reference not set to an instance of an object
at DSGUI.DSGUI_ListItem.DoDraw (UnityEngine.Rect inRect, System.Single y, System.Boolean altBG) [0x000c1] in <1afc7d4faca84b699be039554bc4be03>:0
at DSGUI.DSGUI_ListModal.DoWindowContents (UnityEngine.Rect inRect) [0x004b0] in <1afc7d4faca84b699be039554bc4be03>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
I understand the context I'm providing is way too general, so I'll try to debug it myself, and report the results here.
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working