ChrisNZL / Tallowmere2

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

Null ref: T2.CanvasMenuItemPanel.ShowContextMenu #1179

Closed ChrisNZL closed 10 months ago

ChrisNZL commented 1 year ago

Feedback ID 0.3.7o_20230225-5F2YS

Error seems to be happening when using the context menu within the Achievements category.

4:45:35, Frame 88871, EXCEPTION »  NullReferenceException: Object reference not set to an instance of an object.
>>>>> CRITICAL ERROR >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

T2.CanvasMenuItemPanel.ShowContextMenu (System.Single height, T2.Category newCategory)
T2.CanvasMenu.SetCategoryAndUpdateAppearance (T2.Category newCategory, System.Boolean forceRebuildMenuItems)
T2.CanvasMenu.Update ()

GameStates: ShowingTitleScreen, UsingMainMenu, UsingContextMenu
OnlineGameInfo: Device is offline.
No previous server nor online game info.
CanvasMenu.CurrentCategory: Achievements
SystemPlayer InputDevice: 터치스크린
ChrisNZL commented 10 months ago

I think this got fixed in 0.4.0 with the new pagination system.

Unable to reproduce.