Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Can't select UI elements through Scene without enabled Gizmos

Discussion in '2020.2 Beta' started by RunninglVlan, Oct 8, 2020.

  1. RunninglVlan

    RunninglVlan

    Joined:
    Nov 6, 2018
    Posts:
    180
    Using Unity 2020.2.0b5.3233.
    When Gizmos are disabled I can't select UI elements. Need to enable Gizmos first.
    With disabled Gizmos I still can select them through Hierarchy and then, e.g., move them on the Scene.
     
  2. Xarbrough

    Xarbrough

    Joined:
    Dec 11, 2014
    Posts:
    1,186
    This still irks me as well. Selecting UI with disabled Gizmos used to work, but in 2020.2 it stopped. Was this intended for a specific reason or should we report a bug?
     
    xaldin-76 and unleech like this.
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,111
    RunninglVlan and Xarbrough like this.
  4. Xarbrough

    Xarbrough

    Joined:
    Dec 11, 2014
    Posts:
    1,186
    The issue has been marked as Won't Fix, but I don't think this change is a good one.

    For a long time, it was possible to select UI GameObjects when Gizmos were toggled off and now this is considered a bug, but I think it'll annoy more people than help them. As an example, I built a tool for the Asset Store that allows users to select objects including UI in the scene more easily and it relies on objects being selectable. Now, my tool doesn't work if Gizmos are disabled, which is confusing my users, prompting them to send me bug reports that my tool doesn't respond to selection.

    I really don't see how Gizmos are related to selection in general. Sure, some Gizmos can be selected, but in general, if I turn of Gizmos, I can still select any 3D or 2D object in the scene, so why shouldn't I also select UI GameObjects?

    @LeonhardP Not sure if you have any influence on this topic, but would it be possible to revisit this decision and bring it up again within the team?
     
    mgear, Rib and unnanego like this.
  5. tkramer811

    tkramer811

    Joined:
    Dec 8, 2019
    Posts:
    2
    I just upgraded from 2019 LTS to 2020 LTS (yeah, quite late) and this "bug" really bugs me. If you have the Hand-tool active, you can't select anything. You have to first activate Move, Rect or some other tool, very annoying.
    I'm grateful I found this post, because I first thought my installation was broken.
     
    Rib likes this.
  6. Rib

    Rib

    Joined:
    Nov 7, 2013
    Posts:
    39
    Yeah, I looked again at switching from unity 2019 to 2020 yesterday and had forgotten that this was one of the most annoying regressions I hit when I last tested 2020. I remember losing a whole bunch of time frustrated at why I couldn't edit any UI when I first tried out 2020 and googling for help etc until I found a bug report corresponding to this.

    Having a 'wont fix' bug for this issue that doesn't let people vote for this to be fixed is also kind of frustrating. Saying that UI elements are "not normal renderers" sounds like a minor technical detail that shouldn't really matter here.

    For any developers that deal with a lot of world space UI elements this is a very noticeable UX regression and even if they are technically rendered like gizmos under the hood the previous design that allowed us to interact with UI elements by default was much more usable.

    I often want to toggle all gizmos off to avoid visual clutter but now that's awkward because I basically always need to be able to modify UI elements, which conceptually are just first-class components in the scene.

    Imagine if you couldn't interact with the transform tools for translating, rotating and scaling 3D objects if you didn't turn on all gizmos that would be silly but it seems like that's basically what's been done for UI components here.

    I really hope someone at Unity reevaluates this issue and the current 'wont fix' response.
     
    arkano22 and nomadic like this.
  7. Rib

    Rib

    Joined:
    Nov 7, 2013
    Posts:
    39
    Last edited: Jun 24, 2021
  8. Peacewise

    Peacewise

    Joined:
    Feb 27, 2014
    Posts:
    52
    Just ran into this. Was checking the locked layers and UI was not locked, couldn't figure out for the life of my why I was not able to select UI elements. Thanks to this thread I found it was from Gizmos being disabled. This is flawed design, or a bug. Hope Unity changes their mind and fixes it.
     
    LazloBonin and Wattosan like this.
  9. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    452
    Any plans to change this?
     
    LazloBonin likes this.
  10. LazloBonin

    LazloBonin

    Joined:
    Mar 6, 2015
    Posts:
    805
    We'd also really like to see that change reverted!
     
  11. GearedSun

    GearedSun

    Joined:
    Apr 17, 2014
    Posts:
    30
    I agree with you guys. I had to switch to 2020 as well and this is definitely one of the "highlights" of their new, broken designs, which are getting into Unity. There are more, but this one is really something. I've been using Unity for more than 8 years and I'm increasingly frustrated with every major update since Unity 5.x, which was great...

    Just to add my 2 cents to their "resolution", which says that UI objects are not normal GameObjects. From user point of view, that is completely irrelevant and also pretty stupid. User sees those UI objects in scene and can manipulate with them the same way as with any other GOs. They simply made the Unity interface less user friendly and made it "by design" because some coder/manager in Unity was too proud to acknowledge his/her failure.

    The only way is probably to submit a "feature request" to let users select UI GOs even when Gizmos are disabled :)
     
    treborguy, daxiongmao and Wattosan like this.
  12. sfallier_scopely

    sfallier_scopely

    Joined:
    Aug 24, 2020
    Posts:
    7
    This is actively terrible UX. Just burned hours trying to figure out why the heck I can't edit UI.
     
  13. Eloren

    Eloren

    Joined:
    Jul 17, 2019
    Posts:
    21
    They reproduced this bug 2 years ago but they did nothing as always
     
  14. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    442
    Still there. 2022.3.x, can't select UI elements by clicking on them in the Scene view.
    3D icons are terrible and you can't deactivate them all at once so put their size at 0 by sliding the bar to the extreme left side so they're not visible anymore and don't clutter the view uselessly.