Search Unity

Font Asset not selectable from "Select FontAsset" window.

Discussion in 'UI Toolkit' started by macdevelops, Jun 5, 2022.

  1. macdevelops

    macdevelops

    Joined:
    May 28, 2022
    Posts:
    5
    Hi,

    I created a UI, decided on a font and imported it into Unity, followed the lessons and tutorials from all my searching that said I need to generate a font asset to use it.

    For some reason I cannot select the generated font asset in the UIToolkit Inspector. Anyone have any idea what the problem might be?

    I have added a screenshot of the FontAsset and empty selection box, not sure if that will be of any help.

    Screenshot 2022-06-05 at 00.24.20.png

    Thank you.
     
  2. ncerone_unity

    ncerone_unity

    Unity Technologies

    Joined:
    Jan 13, 2022
    Posts:
    36
    Hi macdevelops,

    You have to create a Font Asset and not a TMP Font Asset, after having imported the font (.ttf) in the asset browser, you can right-click on the imported font, select Create -> Text -> Font Asset (outlined in red below).

    upload_2022-6-6_13-43-26.png

    The font will then be available:
    upload_2022-6-6_13-43-52.png