I just purchased the First Person Controller pack and was able to get the example character model in and moving around. With minimal effort I was even able to create a new katana item and make the character hold it. But FOR THE LIFE OF ME, I cannot make the character's swing animation play. I've gone over the tutorial videos numerous times, following step by step and still no luck.
Using Unity 2018.3.8f1
Repro steps:
1. Create a new scene
2. In UCC menu: Add Managers, Setup Camera, Add UI
3. Setup a new character with the following options:
4.Set up a katana item using the following options:
5. I try running the game and everything gets set up correctly, the character is holding the katana item, but no animation plays when clicking. Character movement works as expected otherwise.
PS - Should also be noted that when I add the Third Person Objects in the Character Manager, it seems to disable the arm rig at runtime...
PPS - I also get 2 errors when running the game:
and
Any help would be appreciated!
Using Unity 2018.3.8f1
Repro steps:
1. Create a new scene
2. In UCC menu: Add Managers, Setup Camera, Add UI
3. Setup a new character with the following options:
4.Set up a katana item using the following options:
5. I try running the game and everything gets set up correctly, the character is holding the katana item, but no animation plays when clicking. Character movement works as expected otherwise.
PS - Should also be noted that when I add the Third Person Objects in the Character Manager, it seems to disable the arm rig at runtime...
PPS - I also get 2 errors when running the game:
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Character.Abilities.Ability.CanInputStartAbility (Opsive.UltimateCharacterController.Input.PlayerInput playerInput) (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/Ability.cs:295)
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotionHandler.UpdateAbilityInput (Opsive.UltimateCharacterController.Character.Abilities.Ability[] abilities) (at Assets/Opsive/UltimateCharacterController/Scripts/Character/UltimateCharacterLocomotionHandler.cs:127)
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotionHandler.UpdateAbilityInput () (at Assets/Opsive/UltimateCharacterController/Scripts/Character/UltimateCharacterLocomotionHandler.cs:99)
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotionHandler.Update () (at Assets/Opsive/UltimateCharacterController/Scripts/Character/UltimateCharacterLocomotionHandler.cs:73)
and
Error: The collider on the melee hitbox is null.
UnityEngine.Debug:LogError(Object)
Opsive.UltimateCharacterController.Items.Actions.MeleeHitbox:Initialize(Transform) (at Assets/Opsive/UltimateCharacterController/Scripts/Items/Actions/MeleeWeapon.cs:91)
Opsive.UltimateCharacterController.FirstPersonController.Items.FirstPersonMeleeWeaponProperties:Awake() (at Assets/Opsive/UltimateCharacterController/Scripts/FirstPersonController/Items/FirstPersonMeleeWeaponProperties.cs:33)
Any help would be appreciated!