Search Issue Tracker
Fixed
Fixed in 2022.3.55f1
Votes
0
Found in
2021.3.43f1
2022.3.44f1
Issue ID
UUM-78726
Regression
No
PhysicsRaycaster.ComputeRayAndDistance() does not detect mouse input on colliders when multi-display setup is used
Reproduction steps:
1. Open the attached “PointerInputTest.zip” project
2. Have a setup of at least two displays
3. Build and Run the project (File > Build and Run)
4. In the Player on a secondary display, click on colliders
Expected result: The colliders get clicked on and the clicks are logged in the Player
Actual result: The colliders do not get clicked on or incorrect colliders get clicked on
Reproducible with: 2021.3.43f1, 2022.3.44f1, 6000.0.1f1
Fixed in: 6000.0.2f1
Not reproducible with: 6000.0.17f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- The mouse input detection on the primary display works correctly
- Modifying PhysicsRaycaster.ComputeRayAndDistance() to use GetRelativeMousePositionForRaycast() instead of RelativeMouseAtScaled() fixes the issue and enables correct input detection across multiple displays
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Add comment