atmuc
Member
My project works on the editor. When I try to run windows standalone build I get the following error on each frame. I cannot see fps arms and the rifle. I have no windows specific script on the character controller. What can cause this?
IndexOutOfRangeException: Index was outside the bounds of the array.
at Opsive.UltimateCharacterController.Game.KinematicObjectManager.SetCharacterMovementInputInternal (System.Int32 characterIndex, System.Single horizontalMovement, System.Single forwardMovement) [0x00001] in C:\Repository\Projects\Unity\Shooter\Assets\Standard Assets\Tools\Opsive\Opsive\UltimateCharacterController\Scripts\Game\KinematicObjectManager.cs:630
at Opsive.UltimateCharacterController.Game.KinematicObjectManager.SetCharacterMovementInput (System.Int32 characterIndex, System.Single horizontalMovement, System.Single forwardMovement) [0x00001] in C:\Repository\Projects\Unity\Shooter\Assets\Standard Assets\Tools\Opsive\Opsive\UltimateCharacterController\Scripts\Game\KinematicObjectManager.cs:619
at Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotionHandler.Update () [0x0002f] in C:\Repository\Projects\Unity\Shooter\Assets\Standard Assets\Tools\Opsive\Opsive\UltimateCharacterController\Scripts\Character\UltimateCharacterLocomotionHandler.cs:71
IndexOutOfRangeException: Index was outside the bounds of the array.
at Opsive.UltimateCharacterController.Game.KinematicObjectManager.SetCharacterMovementInputInternal (System.Int32 characterIndex, System.Single horizontalMovement, System.Single forwardMovement) [0x00001] in C:\Repository\Projects\Unity\Shooter\Assets\Standard Assets\Tools\Opsive\Opsive\UltimateCharacterController\Scripts\Game\KinematicObjectManager.cs:630
at Opsive.UltimateCharacterController.Game.KinematicObjectManager.SetCharacterMovementInput (System.Int32 characterIndex, System.Single horizontalMovement, System.Single forwardMovement) [0x00001] in C:\Repository\Projects\Unity\Shooter\Assets\Standard Assets\Tools\Opsive\Opsive\UltimateCharacterController\Scripts\Game\KinematicObjectManager.cs:619
at Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotionHandler.Update () [0x0002f] in C:\Repository\Projects\Unity\Shooter\Assets\Standard Assets\Tools\Opsive\Opsive\UltimateCharacterController\Scripts\Character\UltimateCharacterLocomotionHandler.cs:71