Hello!
I have had some strange things start happening I am hoping for some insight on. Firstly when I add items in the editor they don't seem to appear in the inventories correctly. They become deleted from the inventory on play or sometimes they don't delete properly if they were already in the inventory before having this issue. Also hitting "+ or -" doesn't seem to remove or add an Item Collection correctly. I tried this in the demo scene of UIS in my project and it's the same. I have updated to the latest UIS so I shouldn't be missing anything. I'm also having another issue involving the tabs in the storage menu but maybe the first issue will resolve that. For some reason when I go to each tab every second time it won't show the item until I go back a 3rd time. Also with a strange error.
IAll the components look fine to me and besides adding or removing the items in editor/inspector everything seemed to work... But yeah, I can't edit anyone's inventory content anymore.
Also, this is the tab error:
Maybe you can see where to start looking! It was so so close so I am not sure what changed as I have not edited any core files. Just updated to v1.1.7.
Thanks
I have had some strange things start happening I am hoping for some insight on. Firstly when I add items in the editor they don't seem to appear in the inventories correctly. They become deleted from the inventory on play or sometimes they don't delete properly if they were already in the inventory before having this issue. Also hitting "+ or -" doesn't seem to remove or add an Item Collection correctly. I tried this in the demo scene of UIS in my project and it's the same. I have updated to the latest UIS so I shouldn't be missing anything. I'm also having another issue involving the tabs in the storage menu but maybe the first issue will resolve that. For some reason when I go to each tab every second time it won't show the item until I go back a 3rd time. Also with a strange error.
IAll the components look fine to me and besides adding or removing the items in editor/inspector everything seemed to work... But yeah, I can't edit anyone's inventory content anymore.
Also, this is the tab error:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
Opsive.UltimateInventorySystem.UI.Panels.ItemViewSlotContainers.InventoryGridIndexer.GetOrderedItems (Opsive.Shared.Utility.ListSlice`1[T] itemInfos) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/ItemViewSlotContainers/InventoryGridIndexer.cs:214)
Opsive.UltimateInventorySystem.UI.Item.InventoryGrid.Draw () (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/InventoryGrid.cs:183)
Opsive.UltimateInventorySystem.UI.Panels.ItemViewSlotContainers.InventoryGridTabControlBinding.HandleTabChange (System.Int32 previousIndex, System.Int32 newIndex) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/ItemViewSlotContainers/InventoryGridTabControlBinding.cs:100)
Opsive.UltimateInventorySystem.UI.TabControl.SetTabOn (System.Int32 index) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/TabControl.cs:179)
Opsive.UltimateInventorySystem.UI.TabToggle.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/TabToggle.cs:158)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/Program Files/Unity/Hub/Editor/2019.4.21f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at C:/Program Files/Unity/Hub/Editor/2019.4.21f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:261)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
InControl.InControlInputModulerocessMousePress(MouseButtonEventData) (at Assets/InControl/Source/GUI/InControlInputModule.cs:761)
InControl.InControlInputModulerocessMouseEvent(Int32) (at Assets/InControl/Source/GUI/InControlInputModule.cs:677)
InControl.InControlInputModulerocessMouseEvent() (at Assets/InControl/Source/GUI/InControlInputModule.cs:667)
InControl.InControlInputModulerocess() (at Assets/InControl/Source/GUI/InControlInputModule.cs:185)
UnityEngine.EventSystems.EventSystem:Update() (at C:/Program Files/Unity/Hub/Editor/2019.4.21f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:377)
Maybe you can see where to start looking! It was so so close so I am not sure what changed as I have not edited any core files. Just updated to v1.1.7.
Thanks
Last edited: