Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.32f1

2022.3.14f1

2023.2.1f1

2023.3.0a15

6000.0.0b11

Issue ID

UUM-56638

Regression

No

“OnMouseEnter” or raycast is triggered when the cursor is not on the target object if the object is moving together with the camera

--

-

How to reproduce:
1. Open the user’s attached “Ray timing demonstration.zip” project
2. Enter Play Mode
3. Place the cursor near the arrow where “Hold mouse cursor here ->” text is
4. Press the spacebar button
5. Observe the Game window

Expected result: The Cube in the middle doesn’t change its color
Actual result: The Cube in the middle does change its color

Reproducible with: 2021.3.32f1, 2022.3.14f1, 2023.2.1f1, 2023.3.0a15

Reproduced on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested

Notes:
- this happens both using simply an “OnMouseEnter” event on the target object or a direct raycast from the camera itself onto the object (user’s info)
- reproducible in the Editor and Standalone Player (macOS)

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.