After upgrading from Unity 2019.4.22f1 to 2020.3.1f1 I notice all text from TextMesh Pro is rather messed up.
I made sure to update all my packages that needed it, including TMP.
In the image, the top row is using the basic LiberationSans, while the bottom is my own custom font being brutally stylised without my desire.
From first glance to me it seemed that something was off with the atlas UVs, but I have tried rebuilding and there has been no change.
I also tested running my game as the stand alone build, but the same graphical issue is present.
Any help appreciated.
What version of the TMP package were you using in 2019.4 and now in 2020.3?
I would recommend using version 3.0.4 of the TMP package in Unity 2020.3.
What do you mean by rebuild? Do you mean regenerating the font assets or just rebuild the player?
Can you post an image of how your font appeared before along with the font asset inspector where we can set the Generation Settings?
Stephan_B:
What version of the TMP package were you using in 2019.4 and now in 2020.3?
I would recommend using version 3.0.4 of the TMP package in Unity 2020.3.
What do you mean by rebuild? Do you mean regenerating the font assets or just rebuild the player?
Can you post an image of how your font appeared before along with the font asset inspector where we can set the Generation Settings?
I updated to using 3.0.4 now after migrating to 2020.
I regenerated the font asset, but I also see the issue with LiberationSans anyway.
CoolJosh3k:
I updated to using 3.0.4 now after migrating to 2020.
I regenerated the font asset, but I also see the issue with LiberationSans anyway.
Per my previous reply,
“Can you post an image of how your font appeared before along with the font asset inspector where we can set the Generation Settings?”
Sorry for the delay.
Here is a cropped screenshot from it rendering in game back on Unity 2019.4.22f1 using TMP 2.0.1:
Updating TMP to 2.1.4, but still with Unity 2019.4.22f1:
CoolJosh3k:
Sorry for the delay.
Here is a cropped screenshot from it rendering in game back on Unity 2019.4.22f1 using TMP 2.0.1:
Updating TMP to 2.1.4, but still with Unity 2019.4.22f1:
Can you create and export a simple scene using this font asset in TMP 2.0.1? This will enable me to do the upgrade on my end to figure out why you are getting these results?
If needed, you can provide me with this exported .unitypackage via PM.
Also here are the generation settings used:
And the resulting glyphs after updating:
I have since realised that changing my padding from 0 to 1 (or more) does actually fix the issue. It would appear that the updated version no longer likes zero padding for my raster font.
Stephan_B:
Can you create and export a simple scene using this font asset in TMP 2.0.1? This will enable me to do the upgrade on my end to figure out why you are getting these results?
If needed, you can provide me with this exported .unitypackage via PM.
Done.
Issue occurs as soon as an upgrade to TMP 2.1.0 is made, but changing padding to 1 fixed the issue.
I got your private message. Will take a closer look tomorrow.
I think I added some padding to prevent clipping in the latest release which is likely causing this issue with zero padding.
1 Like
Any luck?
My problem is solved now by just setting it to non-zero padding, which I should have had anyway.
I am curious how things are going.
CoolJosh3k:
Any luck?
My problem is solved now by just setting it to non-zero padding, which I should have had anyway.
I am curious how things are going.
The issue is indeed caused by the padding change to prevent clipping where this would cause the reported issue with a padding value of zero.