EDIT: Easy fix. Got stumped by the "Unique Item Set" checkbox being ticked in the prefab haha. 2nd time that's got me!
Hey,
Found a new thing that has be baffled.. For some reason when I make a shootable item, it adds to my item set manager on my charcater twice. I'm not sure why though... Every other item is fine, they're all melee but no issues happen to them on Equip/Unequip. I tried changing their prefab to the shootable weapon in the item description and it seems to associate with that somehow as they would then start doubling too. The shootable item functions but causes issues later as there is always an unusable item in the manager. Majorly causes issues on reloading the game as it can't load the item properly I guess. I used a prefab from the demo and rebound it to test and that doesn't have any issues when equipping, only my silly one. I can probably just rebuild one of those into what I want so it's not really a big deal. But the next part seems to be an issue.
Here's a vid so you can see everything working but what it's doing.
Thoughts...?
I am also using the pixel crushers save system that had worked really well until I tried to implement this item, now it pulls up this error on load mysteriously, since they started at the same time I assume they are linked.:
This error doesn't seemt to be gamebreaking but it is present which is strange as it was not before.
Hey,
Found a new thing that has be baffled.. For some reason when I make a shootable item, it adds to my item set manager on my charcater twice. I'm not sure why though... Every other item is fine, they're all melee but no issues happen to them on Equip/Unequip. I tried changing their prefab to the shootable weapon in the item description and it seems to associate with that somehow as they would then start doubling too. The shootable item functions but causes issues later as there is always an unusable item in the manager. Majorly causes issues on reloading the game as it can't load the item properly I guess. I used a prefab from the demo and rebound it to test and that doesn't have any issues when equipping, only my silly one. I can probably just rebuild one of those into what I want so it's not really a big deal. But the next part seems to be an issue.
Here's a vid so you can see everything working but what it's doing.
Thoughts...?
I am also using the pixel crushers save system that had worked really well until I tried to implement this item, now it pulls up this error on load mysteriously, since they started at the same time I assume they are linked.:
MissingReferenceException: The object of type 'InventoryItemSetManager' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
Opsive.UltimateCharacterController.Editor.Inspectors.Inventory.ItemSetManagerBaseInspector.CheckItemSetAbilities (Opsive.Shared.Inventory.IItemCategoryIdentifier[] categories) (at C:/Unity - Current Projects/Backups/Roybus_042921_2020/Assets/Opsive/UltimateCharacterController/Editor/Inspectors/Inventory/ItemSetManagerBaseInspector.cs:228)
Opsive.UltimateCharacterController.Integrations.UltimateInventorySystem.Editor.InventoryItemSetManagerInspector.InitializeCategories () (at Assets/Opsive/UltimateCharacterController/Integrations/UltimateInventorySystem/Editor/InventoryItemSetManagerInspector.cs:135)
Opsive.UltimateCharacterController.Editor.Inspectors.Inventory.ItemSetManagerBaseInspector.OnInspectorGUI () (at C:/Unity - Current Projects/Backups/Roybus_042921_2020/Assets/Opsive/UltimateCharacterController/Editor/Inspectors/Inventory/ItemSetManagerBaseInspector.cs:63)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <16a864d8d57443bb82561171867685b1>:0)
UnityEngine.GUIUtilityrocessEvent(Int32, IntPtr, Boolean&)
This error doesn't seemt to be gamebreaking but it is present which is strange as it was not before.
Last edited: