Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Dynamic SDF System With Prefilled Atlas

Discussion in 'UGUI & TextMesh Pro' started by Grazer2, May 24, 2023.

  1. Grazer2

    Grazer2

    Joined:
    Jun 20, 2011
    Posts:
    87
    Hello,

    I've been watching this video on the dynamic SDF System:


    It seems that the feature works for me when I create a font asset by right clicking on a font and creating an empty atlas that way. The feature however does not work if I create a font asset using the "Window->TextMeshPro->Font Asset Creator" tool. Ideally I would like to have my asset prefilled (as also mentioned in the video), but when I do that, new characters will not be added automatically to the atlas. The font assets created with both methods look identical to me in the inspector. Any ideas what I am missing would be greatly appreciated.

    Regards
     
  2. Grazer2

    Grazer2

    Joined:
    Jun 20, 2011
    Posts:
    87
    I got it working now. It seems that the pre-generated Atlas was already "full". I thus had to make sure that "Multi Atlas Textures" checkbox was set to true. I also lowered the Sampling Point Size which was automatically set to 325 to 90.
     
  3. Grazer2

    Grazer2

    Joined:
    Jun 20, 2011
    Posts:
    87
    Potential bug: The Apply-button does not show up when changing the Atlas Population Mode in the inspector for a font asset. And the change doesn't seem to show up in the .asset file either.