TeamMoonstorm / Starstorm2

A Port/Continuation of the Risk of Rain 1 mod: Starstorm.
GNU General Public License v3.0
29 stars 33 forks source link

When void clover try upgrade item into baby toys game cannot load stage #290

Closed Kex-Energy closed 1 year ago

Kex-Energy commented 1 year ago

From logs: [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: Moonstorm.Starstorm2.Items.BabyToys+MasterBehavior.OnStackChanged (System.Int32 change) (at :IL_0013) Moonstorm.Starstorm2.Items.BabyToys+MasterBehavior.CheckStackChange () (at :IL_0028) Moonstorm.Starstorm2.Items.BabyToys+MasterBehavior.Inventory_onInventoryChanged () (at :IL_0000) RoR2.Inventory.HandleInventoryChanged () (at :IL_000A) RoR2.Inventory.RemoveItem (RoR2.ItemIndex itemIndex, System.Int32 count) (at :IL_0076) RoR2.CharacterMaster.TryCloverVoidUpgrades () (at :IL_0175) RoR2.CharacterMaster.OnServerStageBegin (RoR2.Stage stage) (at :IL_0015) RoR2.Stage.BeginServer () (at :IL_001E) RoR2.Stage.Start () (at :IL_0043) zipped_log.zip

Zenithrium commented 1 year ago

more or less fixed by disabling baby's toys. The item will probably be adjusted/reworked to fix this, so I'm going to close it