Ascendance Games
New member
Item creation works and item is attached to correct bone outside runtime but this error occurs on play. I'm using UMA. I've tried specifying a variety of objects as the 'base object' without luck.
See video and screenshots.
See video and screenshots.
https://cdn.discordapp.com/attachments/478012956899147797/610537104380002332/2019-08-12_14-15-08.mp4
Code:
Error: Unable to find the base object for item AssaultRifle. Ensure the item specifies a base object under the First Person Perspective Item component.
UnityEngine.Debug:LogError(Object)
Opsive.UltimateCharacterController.FirstPersonController.Character.FirstPersonObjects:CheckActiveBaseObjects() (at Assets/Opsive/UltimateCharacterController/Scripts/FirstPersonController/Character/FirstPersonObjects.cs:340)
Opsive.UltimateCharacterController.FirstPersonController.Character.FirstPersonObjects:StartEquip(Item, Int32) (at Assets/Opsive/UltimateCharacterController/Scripts/FirstPersonController/Character/FirstPersonObjects.cs:310)
Opsive.UltimateCharacterController.FirstPersonController.Items.FirstPersonPerspectiveItem:StartEquip(Boolean) (at Assets/Opsive/UltimateCharacterController/Scripts/FirstPersonController/Items/FirstPersonPerspectiveItem.cs:767)
Opsive.UltimateCharacterController.Items.Item:StartEquip(Boolean) (at Assets/Opsive/UltimateCharacterController/Scripts/Items/Item.cs:402)
Opsive.UltimateCharacterController.Character.Abilities.Items.EquipUnequip:OnPickupItem(Item, Single, Boolean, Boolean) (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/Items/EquipUnequip.cs:211)
Opsive.UltimateCharacterController.Events.InvokableAction`4:Invoke(Item, Single, Boolean, Boolean) (at Assets/Opsive/UltimateCharacterController/Scripts/Events/InvokableAction.cs:225)
Opsive.UltimateCharacterController.Events.EventHandler:ExecuteEvent(Object, String, Item, Single, Boolean, Boolean) (at Assets/Opsive/UltimateCharacterController/Scripts/Events/EventHandler.cs:522)
Opsive.UltimateCharacterController.Inventory.InventoryBase:ItemTypePickup(ItemType, Single, Int32, Boolean, Boolean) (at Assets/Opsive/UltimateCharacterController/Scripts/Inventory/InventoryBase.cs:277)
Opsive.UltimateCharacterController.Inventory.InventoryBase:PickupItemType(ItemType, Single, Int32, Boolean, Boolean, Boolean) (at Assets/Opsive/UltimateCharacterController/Scripts/Inventory/InventoryBase.cs:222)
Opsive.UltimateCharacterController.Inventory.InventoryBase:PickupItemType(ItemType, Single, Int32, Boolean, Boolean) (at Assets/Opsive/UltimateCharacterController/Scripts/Inventory/InventoryBase.cs:194)
Opsive.UltimateCharacterController.Inventory.InventoryBase:LoadDefaultLoadout() (at Assets/Opsive/UltimateCharacterController/Scripts/Inventory/InventoryBase.cs:134)
Opsive.UltimateCharacterController.Inventory.InventoryBase:Start() (at Assets/Opsive/UltimateCharacterController/Scripts/Inventory/InventoryBase.cs:119)
Last edited: