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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment