Search Issue Tracker

Active

Votes

2

Found in

2020.2.0a14

2021.1

2021.2

Issue ID

1305536

Regression

Yes

Cannot select UI GameObjects in the Scene view when gizmos are disabled

uGUI

-

Cannot select UI GameObjects in the Scene view when gizmos are disabled

How to reproduce:
1. Download and open the submitted project "UIGameObjectsBug.zip"
2. Disable Gizmos on the top-right of the Scene view
3. Press on the button in the Scene view

Expected result: Button GameObject is selected
Actual result: Button GameObject is not selected

Reproducible with: 2020.2.0a14, 2020.2.2f1, 2021.1.0b2, 2021.2.0a1
Not reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.2.0a13

Notes:
Enabling gizmos prevents the issue.
The issue is reproducible with any UI GameObject.
The issue does not affect other GameObjects.

Comments (1)

  1. 9cd96d794b94271ec37bc6b068726659?d=mm

    Allen-Chou

    Jan 14, 2021 22:32

    This is also an issue for scripts that rely on OnDrawGizmos for drawing invisible mesh to create custom clickable selection areas.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.