For some reason we are seeing that our character will trigger an Exit and an Enter immediately when they jump, all in the same frame. It happens almost every time, but SOMETIMES doesn’t. Does anyone have any ideas what might cause this?
We are NOT calling IgnoreCollision in this case, which is the only thing that seems like a likely culprit. These are box collider triggers that are getting messed with, so they should be really solid. We are completely at a loss, never had this issue in 4x, but now we do in 5.
For me, this issue was occurring because of a conflict between gravity and a script setting the position of a character. In my case, I simply forgot gravity was on (as I didn’t need it) and disabled it on the RigidBody in the editor.
To be specific, a script would set the position of a character in Update() which would trigger OnTriggerEnter, and within the same frame OnTriggerExit would fire in preparation for Physics moving the character out of the collider.