Search Issue Tracker
Fixed in 4.5.5
Votes
1
Found in
4.3.4f1
Issue ID
598699
Regression
No
3D colliders have higher priority than 2D when dealing with mouse clicks
Steps to reproduce:
1. Create a project which has two gameobjects with two colliders attached - one 3D and one 2D. Both objects should report mouse clicks in OnMouseDown() method.
2. Place 2D gameobject so it would overlap 3D gameobject in Main Camera view.
3. Enter play mode.
3. Click on 2D object at a point where 2D object overlaps 3D object.
4. 3D will be reported instead of 2D.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][GameActivity] APK built with Development Build enabled gets flagged as having Malware
- Default name of manually created Global Light 2D GameObject differs from the one included in the initial project Scene
- Option for "Acceleration Structure Build Flags" cannot be toggled when Lightmaps have been Generated for a Mesh Renderer
- Lights in Batch keep resetting to 0 in the Light Batching Debugger when a new GameObject is created and the mouse cursor is hovered over the Inspector window
- [macOS] Rendering Debugger Volume's "Component" dropdown is opened with a big offset when "Component" field is set to any "Sample Scene"
Add comment