Search Issue Tracker

By Design

Votes

0

Found in

5.6.0f3

Issue ID

898261

Regression

No

Rigidbody with two child Box Colliders calls "OnCollision" enter and exit continuously when entered another Box Collider

Physics

-

Moving Game object with Rigidbody, which has two child objects with Box Colliders, into another static Box Collider, enter and exit collisions are called continuously, even though the Rigidbody game object does not move.

To reproduce:
1.Open users attached project
2.Open "test.unity" scene
3.Enter play mode
4.Observe in console debug log is firing enter and exit collisions at the same time

Expected result: only one exit and enter collisions are detected
Actual result: enter and exit collisions are being detected continuously

Reproduced on: 5.4.3f1 5.5.2p2 5.6.0f3 2017.1.0b1

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.