Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Why there is this half rect or 2 lines when i add a button in new empty scene?

Discussion in 'Unity 6 Beta' started by jGate99, Jan 6, 2024.

  1. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,982
    I added a button in scene and you can see there are 2 lines, these lines dont show up in build but they are annoying, how to get rid of these in this beta?

    upload_2024-1-6_13-59-36.png
     
  2. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,427
    Zoom out and you'll see it's the outline of the canvas.

    Always been a thing.
     
  3. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,982
    Its not always a same thing,

    its showing up in "Game View" and only in 2023.3 beta
     
  4. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,427
    You probably just have gizmos turned on in your game view.

    Edit: Seeing as the light gizmo is showing too, yeah, you've just turned on Gizmos in the game view.
     
    jGate99 likes this.
  5. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,982
    Thanks, so gizmos are now showing up in gameview by default
     
  6. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,427
    I'd wager you just turned it on by accident. It wasn't on in the last project I made in the 2023.3 beta.
     
    jGate99 likes this.
  7. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,982
    I actully first time noticed Gizmos in GameView, thanks for the help though and being patient with my noobish behavior's.