Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.3.X, 2021.2.X
Votes
0
Found in
2018.4
2019.4
2020.2
2020.2.1f1
2021.1
2021.2
2022.1
Issue ID
1315870
Regression
No
OnMouseDown is not called when clicking on a GameObject when targeting displays other than "Display 1"
How to reproduce:
1. Open the attached project's Scene labeled "EditorMouseInput"
2. Enter the Play Mode
3. In the Game view, target the "Display 1"
4. Click on the Sphere
4. Inspect the behavior
5. In the Game View, target the "Display 2"
6. Click on the Sphere
7. Inspect the behavior
Expected result: OnMouseDown is called and the Sphere is colored blue
Actual result: OnMouseDown is not called on the Sphere shown on "Display 2"
Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.7f1, 2021.1.14f1, 2021.2.0b2, 2022.0a2
Important: OnMouseDown is called on Sphere shown in "Display 1" when clicking in "Display 2" if the click is relative to the displayed Sphere's position on "Display 1"
Note:
- Partially fixed in Unity 2021.1.0a8 and versions above. OnMouseDown is called on "Display 2" but when clicking on a specific point on "Display 2" it can be called on "Display 1" as well.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GfxDevice::UpdateBufferRanges when running UIBuilder tests
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
Resolution Note (fix version 2021.1):
Fixed in 2022.1.0a13
Resolution Note (fix version 2021.2):
Fixed in 2021.2.14f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.26f1