TextMeshPro font lines/flickering

7003529--827915--upload_2021-4-3_10-31-28.png

I noticed this happening sometimes in my game. The bottom text is rendered weird. It only happens occasionally and on certain devices (mobile).

Hard to reproduce either as it does not always happen.

The font is different. The one with outline is a sprite atlas and that always renders properly.
The lower text (without outline) is just a normal .otf font

Anyone seen this before? Ideas on how to diagnose?
Thanks!

And if you move the game object near or far away from the camera?
Can it be that it overlapping another component?
Try to substitute the texmeshpro component with normal UI to look is still triggering the issue.

Hello, what fixed this for me was to change the shader from TextMeshPro/Distance Field to TextMeshPro/**Mobile/**DistanceField for the UGUI material to render okay on Android builds on Android phones

What fixed it for me on the phone was to change from “TextMeshPro/Distance Field” to “TextMeshPro/Distance Field Overlay”. Changing it to “TextMeshPro/Mobile/Distance Field” did not work for me.

Thanks!