Search Unity

UI Text letters disapearing in WebGL

Discussion in 'UGUI & TextMesh Pro' started by unity_IzMkuuZDatPwZA, Aug 20, 2019.

  1. unity_IzMkuuZDatPwZA

    unity_IzMkuuZDatPwZA

    Joined:
    May 10, 2019
    Posts:
    2
    Hello, I am having a problem with the texts when building in WebGL.
    This is an issue that i previously did not have, and I don't remember what I changed to cause this.
    I have some textfields and textinput that are managed dynamicaly, and sometimes some letters are simply invisible. It is strange, as sometimes the previously bugged texts start to appear again (but it is very inconsistent). The bug shows on all the texts in the game. I have already tried several things, to no success :
    - Vertical Oferflow set to Truncate
    - Update the canvas in a script
    - Manually strectch the text objects to be sure it doesn't get too small for the text
    - Removed all OnGUI() functions

    This issue doesn't appear in the Unity Editor, and its inconsistency makes it hard to troubleshoot.
    I do have multiple canvas throughout the scene, if that can help.
    Unity version 2019.1.1f1

    If you have any idea to help resolve this issue, please don't hesitate to share.
     
    Last edited: Aug 20, 2019
  2. unity_IzMkuuZDatPwZA

    unity_IzMkuuZDatPwZA

    Joined:
    May 10, 2019
    Posts:
    2