Search Issue Tracker

Fixed

Votes

0

Found in

2018.4

2019.3

2019.3.4f1

2020.1

Issue ID

1230730

Regression

No

OnTriggerEnter and OnTriggerExit are called at the same time when GameObject is inside another GameObject

Physics

-

How to reproduce:
1. Open the user's project
2. Open 'Scene' Scene
3. Enter Play Mode

Expected result: Everything becomes green as only OnStayTriggerStay should be called each frame which has sets material to green
Actual result: Everything becomes fuchsia as OnTriggerEnter and OnTriggerExit are called at the same time each frame where one sets material to red the other to blue

Reproducible with: 2018.4.20f1, 2019.3.9f1, 2020.1.0a20
Not reproducible with: 2020.1.0a21, 2020.2.0a5
Could not test with: 2017.4.38f1 because 'Assertion failed' error

Add comment

Log in to post comment