Search Issue Tracker

Duplicate

Votes

0

Found in

2020.3.1f1

2021.1

2021.2

Issue ID

1325015

Regression

Yes

[General] OnTriggerEnter gets called a second time when colliding GameObject is parented to the trigger GameObject

Physics

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. In the Console, inspect the log

Expected result: OnTriggerEnter gets called once
Actual result: OnTriggerEnter gets called twice

Reproducible with: 2020.3.1f1, 2020.3.3f1, 2021.1.2f1, 2021.2.0a12
Not reproducible with: 2018.4.33f1, 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.