Search Issue Tracker

Won't Fix

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.

  1. Resolution Note (2020.2.X):

    UGUI elements are not normal renderers. You must have gizmos enabled to be interact with UGUI elements.

Comments (16)

  1. Rib

    Jun 23, 2021 23:33

    For reference there is also a forum thread about this and maybe it's worth commenting there too since this issue has just been shut down as 'wont fix' and it's not possible to vote for a change of decision. I guess also that comments here now don't get seen by anyone but maybe it's possible to get someone's attention via the forums to reconsider this:

    https://forum.unity.com/threads/cant-select-ui-elements-through-scene-without-enabled-gizmos.984792/

  2. tkramer811

    May 24, 2021 20:23

    Please change it back, this "bugfix" really worsens things.

  3. leonscreative

    Apr 19, 2021 11:16

    Only i work designing UI and this BUG is essencial for my daily work. If they can't fix it then i can't work in any of the new versions anymore

  4. Rib

    Mar 21, 2021 15:46

    This was a frustrating regression to hit after updating from 2019.4 to 2020.3.

    From a user's perspective I'm not it matters to us that "UGUI elements are not normal renderers", that's surely just a technical detail and doesn't seem like a clear explanation for why this bug is marked as "won't fix" - it almost sounds like it's been marked as "won't fix" just because it will be annoying to implement the fix :/

  5. Xarbrough

    Feb 17, 2021 18:44

    But what kind of argument is this? It was working in 2019 and that was clearly the better behaviour for many users. I don't think Unity should change behaviour that was relied upon for multiple years and then simply change it by calling it a "bugfix". Even more general, gizmos are things users can toggle on and off to add additional information and sometimes selectable things to the scene. It never disabled any sort of selecting GameObjects before, so why shouldn't I select UI GameObjects with Gizmos disabled?

  6. 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.