Search Unity

[SOLVED]Help with custom font

Discussion in 'Scripting' started by Simonxzx, Jul 16, 2015.

  1. Simonxzx

    Simonxzx

    Joined:
    Feb 22, 2015
    Posts:
    129
    Hi everyone, I've made my own custom font for my game (3D). I used it for a timer I put in my game; everything's ok, the only problem is that in the 'scene' the timer with the custom font is normally visible, but in the 'Game' section it isn't, so, when I play my game the timer is 'invisible'. Do you have any idea? Thank you very much. (As you can see in the image below, when i run the game the timer is effectively correctly in the scene, but it isn't visible).
     

    Attached Files:

  2. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
  3. Simonxzx

    Simonxzx

    Joined:
    Feb 22, 2015
    Posts:
    129
    I tried to change it, but nothing happens
     
  4. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Have you tried using other fonts? I would try the default font just to see if that is an issue and narrow your search.
     
  5. Simonxzx

    Simonxzx

    Joined:
    Feb 22, 2015
    Posts:
    129
    Yeah, i tried them and they work perfectly :confused:
     
  6. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    And those default fonts are on the same position and layer as the custom?
     
  7. Simonxzx

    Simonxzx

    Joined:
    Feb 22, 2015
    Posts:
    129
    Yeah, they are. But I found the solution : changing the shader of the font material into Unlit :)
     
    renman3000 likes this.
  8. Simonxzx

    Simonxzx

    Joined:
    Feb 22, 2015
    Posts:
    129
  9. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Ah.
    Nice.