m22spencer / BattletechPerformanceFix

Performance improvements and general fixes for HBS' BattleTech.
The Unlicense
22 stars 8 forks source link

NRE #50

Open taintedloki opened 5 years ago

taintedloki commented 5 years ago

a user had this stack trace pop up: 2019-11-03T21:14:59 FYLS [ERROR] System.NullReferenceException: Object reference not set to an instance of an object at BattleTech.UI.ListElementController_InventoryGear_NotListView.RefreshQuantity (BattleTech.UI.InventoryItemElement_NotListView theWidget) [0x0001a] in :0 at BattleTech.UI.ListElementController_BASE_NotListView.ModifyQuantity (System.Int32 quantityToAdd) [0x0000e] in :0 at BattletechPerformanceFix.MechlabFix.OnAddItem_Pre (BattleTech.UI.MechLabInventoryWidget instance, BattleTech.UI.IMechLabDraggableItem item) [0x0018b] in <5fe5739892c340b4a90dd000d15f9447>:0 : System.NullReferenceException: Object reference not set to an instance of an object at BattleTech.UI.ListElementController_InventoryGear_NotListView.RefreshQuantity (BattleTech.UI.InventoryItemElement_NotListView theWidget) [0x0001a] in :0 at BattleTech.UI.ListElementController_BASE_NotListView.ModifyQuantity (System.Int32 quantityToAdd) [0x0000e] in :0 at BattletechPerformanceFix.MechlabFix.OnAddItem_Pre (BattleTech.UI.MechLabInventoryWidget instance, BattleTech.UI.IMechLabDraggableItem item) [0x0018b] in <5fe5739892c340b4a90dd000d15f9447>:0