ToastedOven / AutoSortItems

It sorts items
GNU General Public License v3.0
0 stars 0 forks source link

inventory had a fucky-wucky and the display vanished #1

Open Mohl97 opened 2 years ago

Mohl97 commented 2 years ago

[Error : Unity Log] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack trace: System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <44afb4564e9347cf99a1865351ea8f4a>:IL_0029) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <44afb4564e9347cf99a1865351ea8f4a>:IL_0000) AutoSortPlugin.AutoSortPlugin.SortItems (RoR2.ItemIndex[] items, System.Int32 count, RoR2.UI.ItemInventoryDisplay display) (at <01a6425b3799403eaa3c24cdd4654190>:IL_03AF) AutoSortPlugin.AutoSortPlugin.UpdateDisplayOverride (System.Action 1[T] orig, RoR2.UI.ItemInventoryDisplay self) (at <01a6425b3799403eaa3c24cdd4654190>:IL_000F) DMD<>?-1730984192.Hook<RoR2.UI.ItemInventoryDisplay::UpdateDisplay>?-441271040 (RoR2.UI.ItemInventoryDisplay ) (at <d9ba1d368a0946fc8f2cba223c0d00c1>:IL_0014) DMD<Update>?-1730984192._RoR2_RoR2Application::Update (RoR2.RoR2Application this) (at <39d74dad8500464fb6309c1d3c7b1bac>:IL_0075) DMD<>?-1730984192.Trampoline<RoR2.RoR2Application::Update>?1026383872 (RoR2.RoR2Application ) (at <ff02338bb03e40bcae7fe736be542f03>:IL_0020) TILER2.AutoConfigContainer.FilePollUpdateHook (On.RoR2.RoR2Application+orig_Update orig, RoR2.RoR2Application self) (at <3078f7507b9e489fb8758552af39d23a>:IL_0000) DMD<>?-1730984192.Hook<RoR2.RoR2Application::Update>?-2091253888 (RoR2.RoR2Application ) (at <99cde2de604c47eb9941b1fd5d1cd549>:IL_000A)

I picked up too many void items and now my inventory has a tummy ache and won't show me my items.

ToastedOven commented 2 years ago

umm, how many void items did you pick up exactly, also can you send me a full log file?

ToastedOven commented 2 years ago

I have added a fallback that will just not sort your items, however, if you have more info that would be greatly appreciated so I can actually fix the bug itself