
GTFO
You are viewing a potentially older version of this package. View Latest Version

Shooter bug seems to be an issue with Unity's Character Controller and Physx. They do not play well together with raycasts and other collider interactions as shown below: https://forum.unity.com/threads/physics-raycast-against-charactercontroller-is-broken-bugged-unreliable-in-2021.1433314/ https://forum.unity.com/threads/raycast-rarely-fails-for-no-discernible-reason.1263626/
This fix was supposed to add a CapsuleCollider to replace the character controller, but after testing it seemed like adding a disabled CapsuleCollider fixed the issue. I don't actually know if it does, it just seemed to.
For reference:
CapsuleCollider: 3hrs until shooter bugged consistently (tested 3 times)CapsuleCollider: 5hrs+ no shooter bug (didn't test further, nor repeated)¯\(ツ)/¯