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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment