Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Bug TMP_Font Asset: default font weight (regular) ignored when specifying alternative font weights

Discussion in 'UGUI & TextMesh Pro' started by RedHillbilly, Jan 19, 2024.

  1. RedHillbilly

    RedHillbilly

    Joined:
    Mar 24, 2014
    Posts:
    39
    I have three font assets: regular, light and bold.
    In the regular font asset, I specify the light and bold alternatives:
    upload_2024-1-19_14-7-42.png

    The regular font asset can not be modified, I'm assuming because it's supposed to default to the asset itself.
    But it does not, it just randomly default to one of the other specified weights.

    When I remove the alternative weights, the default font size shows up again.

    Any idea what I am doing wrong?
     
  2. JuliaP_Unity

    JuliaP_Unity

    Unity Technologies

    Joined:
    Mar 26, 2020
    Posts:
    698
    What's in your "Fallback Font Assets" field below the one in your screenshot?