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

why the text isn't showing in the game view?

Discussion in 'UGUI & TextMesh Pro' started by xuserx460, Apr 18, 2024.

  1. xuserx460

    xuserx460

    Joined:
    Apr 10, 2024
    Posts:
    3
    expected behaviour: a text showing on top of the screen
    issue: the text is not showing on the screen
    screenShots:
    why the text is pixelated? and why it's not showing on the game view?
    here is the text settings :


    edit : the links isn't working idk why
    here is another ones :
    screenShots : https://imgur.com/a/82IFDgd
    text settings :https://imgur.com/a/T24iUP5
     
    Last edited: Apr 18, 2024
  2. nik898

    nik898

    Joined:
    Jan 31, 2024
    Posts:
    1
    Delete the Game object and make the new one, Inside UI panel
     
  3. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    2,212
    Now this is in a forum where people can answer.. Ok so, in your screen shot, your text actually shows off screen, you need to anchor it, and set it so it would.. thats the joy of anchors it allows them to move with screen size etc, but also, so you can tell where it will be in relation to other things.
     
  4. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,623
    If you want to use Text Mesh Pro then you need to add a TMP_Text component instead of Text. You can see the different items in the right click menu when you go to add something in the hierarchy under "UI" it will say (TMP) next to them.