Search Issue Tracker

Duplicate

Votes

0

Found in

2020.3

2020.3.1f1

2021.1.0a10

2021.2

Issue ID

1326547

Regression

Yes

"OnTriggerExit" not being called when changing GameObject's position and parent at the same time

Physics

-

How to reproduce:
1. Open the user attached project (test_unity.zip)
2. Enter PlayMode
3. Press the "Reparent Cube1" button twice
4. Observe the Console output

Expected result: "OnTriggerEnter" and "OnTriggerExit" are called for both cubes
Actual result: Only "OnTriggerEnter" is called for both cubes

Reproducible with: 2020.3.3f1, 2021.1.0a10, 2021.1.1f1, 2021.2.0a12
Not reproducible with: 2019.4.24f1, 2021.1.0a9

Note: Reproducible on Windows 10 and Ubuntu 18.04

  1. This is a duplicate of issue #1323883

    OnTriggerEnter gets called after reparenting a RigidBody

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.