Search Unity

Question Weird Box

Discussion in 'UGUI & TextMesh Pro' started by TheStrudel, Sep 5, 2022.

  1. TheStrudel

    TheStrudel

    Joined:
    Jun 9, 2017
    Posts:
    6
    Hi there !

    Not sure where to post this if I'm in the correct spot.
    Not sure where this box came from, nothing is enabled in the UI as you can see in the picture not sure why it's here

    Any help would be great ! Thanks in advance !
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,050
    I think it's just the edge of the canvas. If you disable gizmos it will be gone I think
     
  3. AlsiQwyk6

    AlsiQwyk6

    Joined:
    Feb 4, 2022
    Posts:
    3
    Yes, that is the edge of your Canvas (which is enabled) and which is set to ScreenSpace-Overlay.

    If you edit the RenderMode of your Canvas to be ScreenSpace-Camera instead and assign the camera to the proper slot you will see that the edge will disappear.