Hello, it's me again with another question I seem not to be able to find the answer to. ?
I was able to update to the newest UCC version and it's great! Everything had a smooth transition and is working perfectly fine.
There is only one thing that, for some reason that I can't figure out, is not working correctly.
When my character picks up the item pick up and then goes to pick up another item pick up, it will throw this IndexOutOfRangeException when that ability detects another item pick up. It's like it doesn't clear the previous pick up and tries to access that one instead?
It does not happen on the demo scene but it happens when I create a new character. I see no difference between my setup and the demo setup but clearly, I'm missing something?
I was able to update to the newest UCC version and it's great! Everything had a smooth transition and is working perfectly fine.
There is only one thing that, for some reason that I can't figure out, is not working correctly.
When my character picks up the item pick up and then goes to pick up another item pick up, it will throw this IndexOutOfRangeException when that ability detects another item pick up. It's like it doesn't clear the previous pick up and tries to access that one instead?
It does not happen on the demo scene but it happens when I create a new character. I see no difference between my setup and the demo setup but clearly, I'm missing something?
IndexOutOfRangeException: Index was outside the bounds of the array.
(wrapper stelemref) System.Object.virt_stelemref_class(intptr,object)
Opsive.UltimateCharacterController.Character.Abilities.PickpUpWeapon.ValidateObject (UnityEngine.GameObject obj, System.Nullable`1[T] raycastHit) (at Assets/_Assets/Scripts/Player/Abilities/PickUpWeapon.cs:153)
Opsive.UltimateCharacterController.Character.Abilities.DetectObjectAbilityBase.OnTriggerEnter (UnityEngine.Collider other) (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/DetectObjectAbilityBase.cs:225)
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion.OnTriggerEnter (UnityEngine.Collider other) (at Assets/Opsive/UltimateCharacterController/Scripts/Character/UltimateCharacterLocomotion.cs:2166)