Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.1.1f1
2019.2.0a1
2019.3.0a1
Issue ID
1151531
Regression
No
GameObject with Script Component containing OnDrawGizmos() function gets selected when selection box touches center of Gizmo
How to reproduce:
1. Open "DragSelectExample" Scene in the attached "case_1151531-PickRectObjects.zip" Unity project
2. Select the GameObjects in the Scene by clicking and dragging the cursor
3. Observe the drag-selection
Expected result: each GameObject is selected only when the drag selection contains the entire GameObject
Actual result: the 4th GameObject is selected when the drag selection touches the center of the Gizmo
Reproducible with: 2017.4.26f1, 2018.4.0f1, 2019.1.2f1, 2019.2.0b1, 2019.3.0a2
Note: the bug does not affect UI GameObjects.
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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note (2019.3.X):
changing this behavior would require to use the rendering picking and would therefore no longer let you marquee select objects irrespective of depth.