Search Unity

Can't see anchors on UI?

Discussion in 'UGUI & TextMesh Pro' started by Happy_Jingle, Oct 7, 2016.

  1. Happy_Jingle

    Happy_Jingle

    Joined:
    Mar 9, 2014
    Posts:
    103
    I'd like to play around with anchors but I've noticed that they're not visible! I recall I was once able to see them, does anyone know what I should do to be able to see them again?
     
  2. mikael_juhala

    mikael_juhala

    Joined:
    Mar 9, 2015
    Posts:
    247
    You might have RectTransform gizmos disabled. Either enable them from Gizmos-list (a dropdown list at the top of Scene-view) or by extending the RectTransform inspector.

    The latter can be done by selecting a gameobject that has a RectTransform component and clicking the component's name, which will show/hide its inspector. This also toggles the visibility of gizmos.
     
    HayalOrtak and JeeKay like this.
  3. Happy_Jingle

    Happy_Jingle

    Joined:
    Mar 9, 2014
    Posts:
    103
    I do have it visible in the gizmo list, any other ideas?
     
    dginovker likes this.
  4. takatok

    takatok

    Joined:
    Aug 18, 2016
    Posts:
    1,496
    When you zoom in on say a button, if its pivot is set to the middle of the canvas, and its anchors are set there as well. they could just be off screen. If you zoom out some you will see the anchors all clustered in the middle of the canvas, but nowhere near your button.

    Also sometimes when you click on a button.. your actually highlighting the canvas. You click again you get the button. Click again you get the text child of the button.
     
  5. jlopezfdez

    jlopezfdez

    Joined:
    Nov 15, 2015
    Posts:
    2
    I have to say that in my case I had the same problem and that was because in 'Layers' dropdown list, layer '5:UI' was hidden.
    I hope my comment can be useful for anyone else that could finish in this thread.
     
    Raseru, adamstone711, FF04 and 5 others like this.
  6. Rasmusmn

    Rasmusmn

    Joined:
    Nov 20, 2018
    Posts:
    3
    Restart Unity
     
  7. eagleTiger

    eagleTiger

    Joined:
    Apr 20, 2017
    Posts:
    14
    if any of your Inspector window (as you can have more than one Inspector windows at a time) is
    LOCKED
    or in
    DEBUG
    mode, the anchor gets hidden
     
    Last edited: Sep 16, 2019
  8. AlexandruFilipescu

    AlexandruFilipescu

    Joined:
    Jul 14, 2019
    Posts:
    5
    God Bless you, you saved me!
     
    unity_ib7XnWN1BunPnA likes this.
  9. seuren

    seuren

    Joined:
    Mar 27, 2020
    Posts:
    1
    My solution: I had the "Selection wire" gizmo disabled. I simply enabled it from Gizmos-list (a dropdown list at the top of Scene-view) and they re-appeared.
     

    Attached Files:

  10. majaus

    majaus

    Joined:
    Jan 15, 2016
    Posts:
    3
    In my case, i discover that gizmos list are also a button to enable or disable all gizmos
     
  11. Magasenakwa

    Magasenakwa

    Joined:
    Oct 13, 2018
    Posts:
    91
    In my case I can't get it to show no matter what I do. New scene, new canvas, new panel on the new canvas, gizmos ticked, layer on UI/Default, only one inspector and it is in normal mode (I also tried toggling back and forth). No anchor editors.

    From what I see on Google this problem has been around since Unity 4. I don't suspect a fix is coming anytime soon, is it? :(
     
  12. Lord_Eniac

    Lord_Eniac

    Joined:
    Jan 28, 2020
    Posts:
    50
    If this isn't in Unity's documentation, it certainly needs to be.
     
    mrVentures likes this.
  13. Peichan

    Peichan

    Joined:
    Jan 26, 2017
    Posts:
    5
    Can Unity please answer this? It's still happening. All fixes suggested above have been tried.
     
  14. ValentynGoalent

    ValentynGoalent

    Joined:
    Aug 27, 2020
    Posts:
    1
    In my case Gismos -> RectTransform [Off] than Gismos -> RectTransform [On] helps me.
     
  15. rojosevi

    rojosevi

    Joined:
    Aug 15, 2018
    Posts:
    1
    Thanks for that pointer the anchor arrow appeared as soon as I did ==> Gismos -> RectTransform [Off] and then stayed visible when I -> RectTransform [On]
     
  16. weng1

    weng1

    Joined:
    Jan 14, 2020
    Posts:
    1
    You can see the scene editor toolbar. Is Gizmos on?
     

    Attached Files:

    • 1.png
      1.png
      File size:
      6 KB
      Views:
      829
    sac_01 and DjFIS like this.
  17. Maksym_Pop

    Maksym_Pop

    Joined:
    Jun 4, 2020
    Posts:
    6
    Thank you very much!!!!!!!!!!!!!
     
    Soorya likes this.
  18. DjFIS

    DjFIS

    Joined:
    Mar 19, 2020
    Posts:
    1
    Thank you!
     
  19. drash_

    drash_

    Joined:
    Jul 20, 2020
    Posts:
    1
    thanks!
     
    ydelalonde likes this.
  20. adamstone711

    adamstone711

    Joined:
    Sep 8, 2018
    Posts:
    9
    Thank you ! Finally solved it for me <3
     
  21. mustafahtp3

    mustafahtp3

    Joined:
    Jun 18, 2021
    Posts:
    1
    Thanks you ! It works for me :)
     
  22. z21567290

    z21567290

    Joined:
    Jul 25, 2017
    Posts:
    1
    thank you very much

    I checked my layer, even though "UI" is working, It didn't show up.
    When I restarted "UI", it was displayed.
     
  23. lin8x

    lin8x

    Joined:
    Oct 4, 2021
    Posts:
    1
    Thank you! Had so many issues with upgrading to Unity 2021 and this saved me from going crazy!
     
  24. RasmusMolckNilsson

    RasmusMolckNilsson

    Joined:
    May 14, 2021
    Posts:
    6
    For me the issue was that the GameObject was inactive. It's weird because all the other layout tools are visible even though the GameObject is inactive.
     
  25. vozcn

    vozcn

    Joined:
    May 15, 2019
    Posts:
    11
    In my case I had two inspector tabs on the right panel and one of them was locked to a non UI gameobject. Even though I used the non locked inspector tab, anchors were not shown. After I released the lock from other inspector tab, anchors come back.
    Unity 2020.3.33f1
     

    Attached Files:

    SERGOGAME likes this.
  26. davletshinaadelya

    davletshinaadelya

    Joined:
    May 5, 2022
    Posts:
    1
    If you have the issue of not having visible anchors (top/bottom/l/r/etc) in Rect Transform options:
    Tree:
    Screen Management -> UI Scenes -> Level UI -> Visibility -> obj1, obj2, obj3

    if you need obj1, obj2 and obj3 to have visible achors in Rect Transform, you need all their parents to have achors as well, so just add it to every parent untill the one that is tied to Camera. In my case is was UI Scenes
    UI Scenes had "Canvas" -> "Render Camera"=="Main Camera (Camera)"
     
  27. Wappenull

    Wappenull

    Joined:
    Oct 29, 2013
    Posts:
    51
    I am dealing with my stupidity for week. I had my RectTransform gizmo checked. Layer ok, no hidden layer.
    But I forgot that I completely turned off the Gizmo. So light the button up. (click on it)
    upload_2022-6-8_22-10-42.png
     
  28. kritikall177

    kritikall177

    Joined:
    Mar 18, 2022
    Posts:
    1
    In my case, I solved the problem by creating a new scene window.
     

    Attached Files:

    • 123.png
      123.png
      File size:
      97.8 KB
      Views:
      247
    Adeon93 likes this.
  29. mitsostim07_unity

    mitsostim07_unity

    Joined:
    Oct 16, 2022
    Posts:
    1
    In my case (with RectTransform enabled in Gizmos): upload_2022-10-27_9-31-33.png

    And then click on properties. A new window opens with the anchor properties :)

    P.S. Working on Unity for Ubuntu (22.04)

    P.S.2. The reason it was not showing, was that I had accidentally activated the debug mode. Everything is visible as expected in the normal mode
     
    Last edited: Oct 27, 2022
  30. iNSiPiD1

    iNSiPiD1

    Joined:
    Oct 10, 2018
    Posts:
    5
    You saved me, thanks so much!
     
    Wappenull likes this.
  31. JonesPantalones

    JonesPantalones

    Joined:
    Sep 1, 2015
    Posts:
    1
    Just change the layout to default upload_2023-3-21_15-1-3.png
     
  32. Moldycode

    Moldycode

    Joined:
    May 13, 2023
    Posts:
    1
    What I did was just turn on the gizmo icon in the top right of the scene window and yeah, sadly a lot of other gizmos come up and it gets in the way but yeah. Thanks everyone for help
     
  33. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,963
  34. ThatAussieCoder11

    ThatAussieCoder11

    Joined:
    Jul 5, 2023
    Posts:
    1
    If none of the above solutions work, I found a solution that should work for most people.

    If anchors do not appear for an object with the RectTransform component, it is most likely because its parent doesn't have the RectTransform component.

    If you add the component to all it's parent's in the hierarchy, that should work.