ChrisNZL / Tallowmere2

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

Null ref: T2.Action_Inventory_ViewWeaponStruct.ShowComparison #1123

Closed ChrisNZL closed 1 year ago

ChrisNZL commented 1 year ago

iOS, auto report, feedback IDs 0.3.7_20221028-GPZYT, 0.3.7_20221030-987JN

Looks like a null error when CanvasMenu is open and player receives fatal damage.

9:08:32, Frame 100880, EXCEPTION »  NullReferenceException: Object reference not set to an instance of an object.
>>>>> CRITICAL ERROR >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

T2.Action_Inventory_ViewWeaponStruct.ShowComparison ()
T2.CanvasMenu.UpdateAppearanceParts (T2.CanvasMenuParts parts, System.Boolean updateTextOnly)
T2.CanvasMenu.LateUpdate ()

GameStates: RompingThroughDungeon, GameOverScreen
OnlineGameInfo: Device is offline.
No previous server nor online game info.
GameSetupMode: Singleplayer
Players: 1
DungeonRoomTransitioner.state: Null
DungeonRoom.state: Ready
Room: 12 / 12
RoomModifiers: KatanasOnly (武士刀派对), TankyMonsters (重装怪物)
YouHaveDiedState: InitialDelay
SystemPlayer InputDevice: 触屏
HumanPlayer 1 InputDevice: 触屏
AccountDisplayName: XXXXX
UserIsCoreSupporter: True
ChrisNZL commented 1 year ago

Fixed in 0.3.7c. Added many null checks within Action_Inventory_ViewWeaponStruct.ShowComparison.