I've updated to UCC 2.1.3 and Unity 2019.1. Started a fresh project and now things are worse. I'm trying to keep my frustrations at bay but It's becoming difficult. Once again I my goal is AI character to repeatedly swing the sword. BD locks up after one swing just as the images above show. I've sent a sample scene and your response was not much help. Let me go through my steps.
1) Create a new project with UCC and BD. Nothing else. I drag the UCC integration package into the scene.
2) Create a plane and scale it by 4. Add material. Mark as Static and bake NavMesh.
3) Tools -> Opsive -> UCC -> Main Manager
4) In Main Manager: Setup -> Project Tab -> Update Buttons and Update Layers
5) In Main Manager: Setup -> Scene Tab -> Add Managers
6) In Main Manager: Camera Setup Settings: Perspective -> Third, Third Person View Type ->Third Person Combat, State Configuration -> DemoStateConfiguration (StateConfiguration), Profile ->None
7) Click Setup Camera
8) Drag Nolan Prefab into the scene
9) In Character Setup: Perspective -> Third, Third Person Movement -> Third Person Combat
10) Drag Nolan from the hierarchy to Character slot
11) Leave Model Type as Humanoid
12) Change the Animator Controller to UltimateCharacterControllerDemo
13) Advanced: Leave everything as is except check AI Agent and NavMeshAgent
14) Click Build Character
15) Click Create when Ragdoll Window appears
16) Close Manager Window
17) Run the Scene and to check for errors. I receive one warning and one error. The plane also disappears and the camera seems to be attached to Nolan's foot.
Warning: No character has been assigned to the Camera Controller. It will automatically be assigned to the GameObject with the Player tag.
UnityEngine.Debug:LogWarning(Object)
Opsive.UltimateCharacterController.Camera.CameraController:Awake() (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraController.cs:187)
Error: Unable to find the character with the Player tag. The camera will be disabled.
UnityEngine.Debug:LogError(Object)
Opsive.UltimateCharacterController.Camera.CameraController:Awake() (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraController.cs:190)
At this point is see no reason to continue adding the Behavior Tree as I don't know if these are part of the problem. I have attempted to fix the problem by adding Nolan to the Character slot in the Camera Controller. The warning goes away but then produces these repeating errors:
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Camera.CameraControllerHandler.FixedUpdate () (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraControllerHandler.cs:129)
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Camera.CameraControllerHandler.Update () (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraControllerHandler.cs:100)
I get these same errors if I change Nolan's tag to Player.