freddyatlantis
Member
Hi,
My project uses UCC integrated with UIS. I set my character up with the flashlight from the UCC demo, and it works fine when loaded into Slot0 and Slot1, equips fine using the UIS inventory canvas. But I want a helmet flashlight, so I
IndexOutOfRangeException: Index was outside the bounds of the array.
(wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object)
Opsive.UltimateCharacterController.Integrations.UltimateInventorySystem.ItemSetRule.AssignItemsToItemSet (System.Int32 slotCount, Opsive.UltimateCharacterController.Inventory.ItemSet itemSet, Opsive.Shared.Utility.ListSlice`1[T] itemsInSet) (at Assets/Opsive/UltimateCharacterController/Integrations/UltimateInventorySystem/Scripts/ItemSet/ItemSetRule.cs:142)
Below is what my InventoryDatabaseItemSetRulesObject looks like:
I'm not really a programmer, and although the editors are great, I just can't wrap my head around all of the dependencies when creating new items and getting them to equip.
Can anybody tell me what I should look into here?
I
My project uses UCC integrated with UIS. I set my character up with the flashlight from the UCC demo, and it works fine when loaded into Slot0 and Slot1, equips fine using the UIS inventory canvas. But I want a helmet flashlight, so I
- added an Items game object to my character rig
- added the item slot component
- set the ID to 2 for the flashlight prefab and the item slot
- set the inventory slot count and the item set rule object slot count to 3
IndexOutOfRangeException: Index was outside the bounds of the array.
(wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object)
Opsive.UltimateCharacterController.Integrations.UltimateInventorySystem.ItemSetRule.AssignItemsToItemSet (System.Int32 slotCount, Opsive.UltimateCharacterController.Inventory.ItemSet itemSet, Opsive.Shared.Utility.ListSlice`1[T] itemsInSet) (at Assets/Opsive/UltimateCharacterController/Integrations/UltimateInventorySystem/Scripts/ItemSet/ItemSetRule.cs:142)
Below is what my InventoryDatabaseItemSetRulesObject looks like:
I'm not really a programmer, and although the editors are great, I just can't wrap my head around all of the dependencies when creating new items and getting them to equip.
Can anybody tell me what I should look into here?
I