Search Issue Tracker

Fixed

Fixed in 6000.0.20f1

Votes

4

Found in

6000.0.15f1

7000.0.0a1

Issue ID

UUM-78460

Regression

Yes

OnTriggerStay is called indefinitely after first time it is triggered when there is no GameObject inside the trigger

--

-

How to reproduce:
1. Open the attached “IN-82483.zip” project
2. Enter Play Mode
3. After collider is triggered (observe console) exit Play Mode
4. Enable the “Is Kinematic” setting on the Rigidbody component of the “Player” GameObject
5. Enter Play Mode
6. Observe the result

Expected result: The OnTriggerStay() method is not triggered when there is no collision
Actual result: The OnTriggerStay() method is being constantly triggered by the “Player” GameObject even if there is no collision

Reproducible in: 2023.3.0a5, 6000.0.15f1
Not reproducible in: 2021.3.42f1, 2022.3.43f1, 2023.3.0a4

Reproducible on: Windows 11
Not reproducible on: No other environments tested

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.