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
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
Add comment