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.
Dismiss Notice
Join us now in the Performance Profiling Dev Blitz Day 2023 - Q&A forum where you can connect with our teams behind the Memory and CPU Profilers and the Frame Debugger.

[Solved] Unity uGUI Dropdown WebGL Issue With Special Chars

Discussion in 'UGUI & TextMesh Pro' started by theylovegames, Jan 19, 2017.

  1. theylovegames

    theylovegames

    Joined:
    Aug 18, 2012
    Posts:
    176
    Last edited: Jan 19, 2017
  2. theylovegames

    theylovegames

    Joined:
    Aug 18, 2012
    Posts:
    176
    I did uncover a WebGL bug.

    The repro project displays special characters just fine in the editor.
    https://github.com/tgraupmann/UnityWebGLDropdown

    But WebGL fails to show the same special characters that the editor displays with the Arial font.

    unity_editor_chars.png

    unity_webgl_chars.png
     
  3. theylovegames

    theylovegames

    Joined:
    Aug 18, 2012
    Posts:
    176
    My original dropdown issue was I had a panel below the dropdown. And so the click gets absorbed by the panel before the dropdown on Chrome, but not Firefox.
     
  4. theylovegames

    theylovegames

    Joined:
    Aug 18, 2012
    Posts:
    176
    It's odd that the editor displays simplified Chinese characters just fine, but the WebGL build is missing fonts. Isn't there a way to fallback to the browser fonts?
     
  5. theylovegames

    theylovegames

    Joined:
    Aug 18, 2012
    Posts:
    176