Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

3.5.5f3

Issue ID

486453

Regression

No

OnTriggerExit is called upon colliding with kinematic rigidbody

Physics

-

See: http://answers.unity3d.com/questions/194441/Why-do-I-get-OnTriggerExit-upon-collision-when-a-rigidbody-is-kinematic-example.html

Just press play. OnTriggerExit will pause the editor when called.

Note that when the editor pauses, the falling Cube hasn't left trigger zone, but just collided with kinematic rigidbody.

The provided example just happens to create the error case. Any of the following changes will not result in the bug:
1. Setting the player's physics material to None
2. Enabling continuous dynamic collision on the cube.
3. Making the player non-kinematic.
4. Changing the starting Y positions of either the cube or the player

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.