Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WebGL Subscript/Superscript

Discussion in 'Editor & General Support' started by tcosta29, Feb 20, 2017.

  1. tcosta29

    tcosta29

    Joined:
    Apr 27, 2016
    Posts:
    6
    Hi there!
    I'm having trouble using text with Subscript/Superscript, so I'm making this post to see if anyone knows something about this that could help me!

    1 -Load text from assetbundle with subscript/superscript

    2- Build it for webGL

    3- All words will appear, but not the ones with subscript/superscript


    I can't really provide a sample project since this requires access to our ftp server in order to download the AssetBundle and that's something I can't do.

    This only happens with WebGL, windows and editor works just fine, the values appear correctly, but in the WebGL version the subscript/superscript doesn't show at all.

    The only answer that I've found was to insert ASCII code directly to the strings, but that's impossible to do since we have too many files.

    This wasn't a problem when we used WebPlayer so please take a look at this.


    Thanks for the help!
    tcosta29