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.
  2. Dismiss Notice

How do I remove the blue border around my canvas?

Discussion in 'UGUI & TextMesh Pro' started by tomowale, May 21, 2021.

  1. tomowale

    tomowale

    Joined:
    Feb 14, 2015
    Posts:
    308
    Think I posted this in the wrong place, so apologies for a repost.


    Basically, everytime I run my game in the game view in Unity, I notice a blue border around the screen. I suppose it has to do something with the canvas I have in my scene, but I'm unsure of how to correct it? Anyone know what's causing it?
     

    Attached Files:

  2. tomowale

    tomowale

    Joined:
    Feb 14, 2015
    Posts:
    308
    Managed to fix it. It was an issue with the Ui > Panel component. When you add the panel, you have to choose "none" on the sprite slot. for some reason it creates those borders if you don't