symmys12 / AutoCommandQueuePickup

0 stars 1 forks source link

Reference exception after new run #1

Closed Pacomax345 closed 9 months ago

Pacomax345 commented 10 months ago

Hello, i'm getting this NullReferenceException error after a new run, the first run after starting the game works fine, afterwards I get this error

[Error : Unity Log] NullReferenceException Stack trace: UnityEngine.Component.GetComponent[T] () (at <469e86e97fa2467ebffe49bbd6086325>:IL_0021) ClassicItemsReturns.Items.SnakeEyes.Inventory_onInventoryChangedGlobal (RoR2.Inventory inventory) (at <10ad5ac702b344d3aa78c5de999d314e>:IL_000F) DMD?-169929472._RoR2_Inventory::HandleInventoryChanged (RoR2.Inventory this) (at <0912786b572744e08e243d28a6b3c6d2>:IL_001A) DMD<>?-169929472.Trampoline?-1088691200 (RoR2.Inventory ) (at <947178e9046b46f6bba2e5f06dbf95f9>:IL_0020) LoLItems.GuardiansBlade+<>c.b__24_0 (On.RoR2.Inventory+orig_HandleInventoryChanged orig, RoR2.Inventory self) (at <767df067377c45c5b1dc7608946334c9>:IL_0001) DMD<>?-169929472.Hook?-708871552 (RoR2.Inventory ) (at :IL_0014) RoR2.Inventory.GiveItem (RoR2.ItemIndex itemIndex, System.Int32 count) (at <1d532be543be416b9db3594e4b62447d>:IL_0080) AutoCommandQueuePickup.AutoCommandQueuePickup.GrantCommandItem (RoR2.PickupIndex pickupIndex, RoR2.CharacterMaster master) (at <5e4cbd569264442db683c3b8e44e33cb>:IL_0029) AutoCommandQueuePickup.Hooks.CommandHandler.On_CommandArtifactManager_OnDropletHitGroundServer (On.RoR2.Artifacts.CommandArtifactManager+orig_OnDropletHitGroundServer orig, RoR2.GenericPickupController+CreatePickupInfo& pickupInfo, System.Boolean& shouldSpawn) (at <5e4cbd569264442db683c3b8e44e33cb>:IL_014F) DMD<>?-169929472.Hook?-887017984 (RoR2.GenericPickupController+CreatePickupInfo& , System.Boolean& ) (at :IL_000A) RoR2.PickupDropletController.OnCollisionEnter (UnityEngine.Collision collision) (at <1d532be543be416b9db3594e4b62447d>:IL_0037) DMD<>?-169929472.Trampoline?-1867295744 (RoR2.PickupDropletController , UnityEngine.Collision ) (at <6e98b822e78545d2b56d3d5c1d5d3f91>:IL_0020) AutoCommandQueuePickup.Hooks.PickupDropletOnCollisionOverrideHandler.On_PickupDropletController_OnCollisionEnter (On.RoR2.PickupDropletController+orig_OnCollisionEnter orig, RoR2.PickupDropletController self, UnityEngine.Collision collision) (at <5e4cbd569264442db683c3b8e44e33cb>:IL_0008) DMD<>?-169929472.Hook?-1804726528 (RoR2.PickupDropletController , UnityEngine.Collision ) (at <30ad47f14d5c44268e15ac0561018a59>:IL_0014)

symmys12 commented 9 months ago

fixed in version 1.0.3