Text mesh pro not showing correctly, i got this error in unity 2018.3.8.f1, already tried to reimport the texmesh package, install reinstall, etc. Other person with the same project has the text working perfectly, and i already tried to delete the project and get the person version, but it isn’t fixed the problem.
The character used for Underline and Strikethrough is not available in font asset [D-DIN SDF].
UnityEngine.Debug:LogWarning(Object, Object)
TMPro.TMP_Text:GetSpecialCharacters(TMP_FontAsset) (at Library/PackageCache/com.unity.textmeshpro@1.4.0/Scripts/Runtime/TMP_Text.cs:5451)
TMPro.TextMeshProUGUI:LoadFontAsset() (at Library/PackageCache/com.unity.textmeshpro@1.4.0/Scripts/Runtime/TMPro_UGUI_Private.cs:561)
TMPro.TextMeshProUGUI:OnValidate() (at Library/PackageCache/com.unity.textmeshpro@1.4.0/Scripts/Runtime/TMPro_UGUI_Private.cs:302)
It’s not a new font asset, the font asset was working ok before i update the unity. The other person is using the exactly same font asset, and project sync by git and the font are fine, wihtout erros. The uniity version of the other person is the same too.
If you look at the character and glyph table for that font asset, do you see the underline and ellipsis character in there?
If you still can’t find the cause for this, please submit a bug report with the project attached and I will gladly take a look to figure out what’s going on.
Something appears to have gone wrong in the upgrade of the font asset when version 1.4.0 of the package was installed.
Looking at the atlas texture, the font asset appears to contain the Extended ASCII range so simply regenerate the font asset and select Character Set - Extended ASCII or alternatively, pull from your repository to get the same content / assets that your other developer is using.
P.S. I am currently making improvements to the font asset upgrade process which will be included in the next release of TMP.
As such if you are able / have the time to submit a bug report including your project (using a version going back to prior to upgrading to version 1.4.0) I will gladly take a look at it to make sure these improvements behaves as expected and avoid whatever potential issue you ran into.
We just upgraded our project to 2018.4.8 with TMP 1.4.1, and we just started receiving warnings regarding missing characters in one of our fonts:
The character used for Underline and Strikethrough is not available in font asset.
The character used for Ellipsis is not available in font asset.
It should be noted that this is a decorative font, and it does not contain many glyphs.
Are these two character required by TMP, or is this something we can do to have their absence ignored? Can we provide a custom character set when the SDF is built?
I just upgraded to Unity 2018.4.9f1 with TMP Package 1.4.1 - current - verified.
I am encountering the same issue that matheustaveiros did in one of my fonts.
I rebuilt my font as you described, and I am still getting this output spam.