ChrisNZL / Tallowmere2

Changelog, issue tracker, and development knowledge for Tallowmere 2.
https://tallowmere2.com
13 stars 0 forks source link

Null ref: T2.ModifierUIGroupCondenser.UpdateComponents #1039

Closed ChrisNZL closed 2 years ago

ChrisNZL commented 2 years ago

Auto report, 0.3.5a, feedback ID 20220512-4RS44

Null ref when playing Couch Co-op and trying to access the Loadout tab.

8:08:36, Frame 28324, EXCEPTION »  NullReferenceException: Object reference not set to an instance of an object
>>>>> CRITICAL ERROR >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

T2.ModifierUIGroupCondenser.UpdateComponents ()
T2.ModifierUIGroup.ProcessInventoryItemStruct (T2.InventoryItemStruct itemStruct, T2.InventoryItemStruct equippedItemStruct, T2.InventoryActionIntention intention, T2.ForceBool forceAnimate, System.Boolean isForBuyback, T2.Creature creatureViewingChest, T2.ModifierUIView view, System.Boolean showKeyboardShortcutIfNeeded)
T2.CanvasMenu.ShowItemComparison (T2.InventoryItemStruct equippedItemStruct, T2.Position position, System.Boolean playSoundEffect)
T2.WeaponSelectorLoadoutContainer.UpdateCanvasMenuButtonsAndItemComparison ()
T2.WeaponSelectorLoadoutContainer.SelectSlot (T2.WeaponWheel2Slot newSlot, System.Boolean playSoundEffect, System.Boolean deselectMenuFilter)
T2.WeaponSelectorLoadoutContainer.ShowSlots (T2.WeaponSelectorLayoutID newLayoutID)
T2.Category_Inventory_Loadout.ShowLoadoutContainer ()
T2.CanvasMenu.UpdateRightPanelAndButtons ()
T2.CanvasMenu.UpdateAppearanceParts (T2.CanvasMenuParts parts, System.Boolean updateTextOnly)
T2.CanvasMenu.LateUpdate ()

GameStates: RompingThroughDungeon, PlayerViewingCreatureInventory
OnlineGameInfo: Device is offline.
No previous server nor online game info.
GameSetupMode: CouchCoop
Players: 2
DungeonRoomTransitioner.state: Null
DungeonRoom.state: Ready
Room: 90 / 90
RoomModifiers: LightningOrbsOnly (Electrifying), DropGoldOnReceiveDamage (Full Pockets), Bouncy (Bouncy), Hearty (Hearty), TankyMonsters (Tanky Monsters)
YouHaveDiedState: Null
CanvasMenu.CurrentCategory: Inventory_Loadout
SystemPlayer InputDevice: XInput Controller
HumanPlayer 1 InputDevice: XInput Controller
HumanPlayer 2 InputDevice: XInput Controller
ChrisNZL commented 2 years ago

Fixed in 0.3.5b.

Added a null check.