Search Unity

Text disappears in Web Player build

Discussion in 'UGUI & TextMesh Pro' started by kurai, Apr 30, 2015.

  1. kurai

    kurai

    Joined:
    Jan 9, 2012
    Posts:
    118
    Hi everyone,
    I'm making a web player based game, and I stumbled into the strangest problem.
    Basically my UI works on Windows, but then, on a Mac, all the text when l play it in the web player all the UI text is not rendered. Everything seems to be fine in editor, though.

    Here are some screenshots of the problem. I'm using Unity 4.6.4 f1.
    Have you ever encountered this? How can I solve it?
    Thanks!
    Screen Shot 2015-04-29 at 19.48.29.png Screen Shot 2015-04-29 at 19.49.18.png
     
  2. kurai

    kurai

    Joined:
    Jan 9, 2012
    Posts:
    118
    It appears to be an overflow problem. If you set vertical overflow: truncate the text disappears (but only in web player mac and even if the text is of the right dimension not to overflow!).
    I set it as overflow and everything works. Strange!