Unity Issue Tracker - “OnMouseEnter” or raycast is triggered when the cursor is not on the target object if the object is moving together with the camera
Closed
UUM-56638
“OnMouseEnter” or raycast is triggered when the cursor is not on the target object if the object is moving together with the camera
Unity: Input
Won't Fix
6.2.X
6.1.X
6.0.X
2023.3.X
2023.2.X
2022.3.X
2021.3.X
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
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