Search Unity

Question Canvas Lines showing?

Discussion in 'General Graphics' started by bugzyhamster, Dec 8, 2022.

  1. bugzyhamster

    bugzyhamster

    Joined:
    Nov 25, 2022
    Posts:
    8
    I started messing around with Canvas and TextMeshPro but I noticed there are giant lines in the sky, and they won't go away. How do I get rid of them?

    https://imgur.com/a/rqz2IhL
     

    Attached Files:

  2. RafaelGomes00

    RafaelGomes00

    Joined:
    Aug 13, 2020
    Posts:
    73
    That's because you are in scene view mode. Those lines won't appear on your game.
    Basically those are the bounds of the canvas that are set on "Overlay", that means that the canvas will Overlay (as the name says) any other object your camera render.
     
  3. bugzyhamster

    bugzyhamster

    Joined:
    Nov 25, 2022
    Posts:
    8
    Even when I click play it still shows. So that's normal?
     
  4. RafaelGomes00

    RafaelGomes00

    Joined:
    Aug 13, 2020
    Posts:
    73
    On the scene view, yes.
    I noticed that you may not have your "Game" view active, I strongly recommend you have it active, with that window you can see what the PLAYER will see.
     
  5. bugzyhamster

    bugzyhamster

    Joined:
    Nov 25, 2022
    Posts:
    8
    This is through the Game view, its still the same

    [EDIT]: I just test built the game and it doesn't have the lines.
    upload_2022-12-8_14-4-49.png
     
    Last edited: Dec 8, 2022