Search Issue Tracker

Duplicate

Votes

2

Found in

2020.3.1f1

2020.3.3f1

2021.1

2021.2

Issue ID

1329735

Regression

Yes

OnTriggerExit is not called when GameObject leaves Trigger through reparenting

Physics

-

How to reproduce:
1. Open the attached project "OnTrigger.zip"
2. Open Assets/Scenes/SampleScene.unity
3. Enter Play Mode

Expected result: OnTriggerEnter and OnTriggerExit gets logged
Actual result: OnTriggerEnter gets logged

Reproducible with: 2020.3.1f1, 2020.3.5f1, 2021.1.4f1, 2021.2.0a14
Not reproducible with: 2018.4.32f1, 2019.4.24f1, 2020.3.0f1

  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.