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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

UI Text is Not Appearing in Maximized Game View

Discussion in 'Editor & General Support' started by BreadDonor, Mar 13, 2020.

  1. BreadDonor

    BreadDonor

    Joined:
    Mar 13, 2020
    Posts:
    1
    I created a basic UI overlay on the canvas. It appears fine in the editor and game screen, however whenever I maximize my game view, it disappears. Any help is much appreciated.
    upload_2020-3-13_11-40-17.png
    upload_2020-3-13_11-41-14.png
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    The first thing I'd check are the anchors. Also, check its positioning in the scene view while you have the problem in game view. This is where multiple monitors comes in handy.
     
    Skar1988 likes this.
  3. Romano

    Romano

    Joined:
    Nov 27, 2013
    Posts:
    76
    Hiya, we have the same problem. There are two of us working on a project. One UI canvas isn't showing when we maximise the screen, but weirdly, others are. What's also strange is that this is only happening on the mac, not on the PC. Using Unity 2019.3.4.
     
  4. Romano

    Romano

    Joined:
    Nov 27, 2013
    Posts:
    76
    It seemed that the issue for us was the text was following the mouse and the z depth of the text was different depending on whether it was maximised or not. Not sure why. Stopping the z depth from changing fixed it. Weird the inconsistency between mac and pc though.
     
  5. ggLuigi

    ggLuigi

    Joined:
    Nov 25, 2017
    Posts:
    1
    First, try to move the text lower as you maximize your screen size, the text box is probably too far up.
    Second, (you didn't follow this step) Select Canvas -> Choose "Match Width Or Height" on Screen Match Mode -> Move the slider towards max "Height" and the digit should change from 0 to 1.

    (I also missed out this step, so I literally googled for so long but found out that I overlooked this step from the tutorial:()

    Hope it helps.
     
    Xark7275 likes this.
  6. SergioLeonard

    SergioLeonard

    Joined:
    Aug 20, 2020
    Posts:
    1
    t seemed that the issue for us was the text was following the mouse and the z depth of the text was different depending on whether it was maximised or not. Not sure why. Stopping the z depth from changing fixed it. Weird the inconsistency between mac and pc though.
    walgreenslistens.com
     
    Last edited: Aug 21, 2020