Hello!
Out of nowhere, I started getting this error. It doesn't seem to break the game in any way I can see but it's my only error left and flooding up my console. I did change some view restrictions to make the camera more work better with the controller but that was it really. I have been fine after that for awhile before this started coming up though. Checking the components on camera and the kinematic object manager I can't seem to find what I need to change.
Thanks!
IndexOutOfRangeException: Index was outside the bounds of the array.
Opsive.UltimateCharacterController.Game.KinematicObjectManager.SetCameraLookVectorInternal (System.Int32 cameraIndex, UnityEngine.Vector2 lookVector) (at Assets/Opsive/UltimateCharacterController/Scripts/Game/KinematicObjectManager.cs:687)
Opsive.UltimateCharacterController.Game.KinematicObjectManager.SetCameraLookVector (System.Int32 cameraIndex, UnityEngine.Vector2 lookVector) (at Assets/Opsive/UltimateCharacterController/Scripts/Game/KinematicObjectManager.cs:677)
Opsive.UltimateCharacterController.Camera.CameraControllerHandler.FixedUpdate () (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraControllerHandler.cs:137)
Out of nowhere, I started getting this error. It doesn't seem to break the game in any way I can see but it's my only error left and flooding up my console. I did change some view restrictions to make the camera more work better with the controller but that was it really. I have been fine after that for awhile before this started coming up though. Checking the components on camera and the kinematic object manager I can't seem to find what I need to change.
Thanks!
IndexOutOfRangeException: Index was outside the bounds of the array.
Opsive.UltimateCharacterController.Game.KinematicObjectManager.SetCameraLookVectorInternal (System.Int32 cameraIndex, UnityEngine.Vector2 lookVector) (at Assets/Opsive/UltimateCharacterController/Scripts/Game/KinematicObjectManager.cs:687)
Opsive.UltimateCharacterController.Game.KinematicObjectManager.SetCameraLookVector (System.Int32 cameraIndex, UnityEngine.Vector2 lookVector) (at Assets/Opsive/UltimateCharacterController/Scripts/Game/KinematicObjectManager.cs:677)
Opsive.UltimateCharacterController.Camera.CameraControllerHandler.FixedUpdate () (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraControllerHandler.cs:137)