Unity Issue Tracker - TextMeshPro text elements are blurry when using SDF Material Shaders and having the Game or Player window set to a small resolution
Closed
UUM-83386
TextMeshPro text elements are blurry when using SDF Material Shaders and having the Game or Player window set to a small resolution
Unity: Text (TextMeshPro)
Won't Fix
6.5.X
6.4.X
6.3.X
6.2.X
6.1.X
6.0.X
2022.3.X
2021.3.X
Cancelling: the 6000.1 version has reached its end of life. If you need additional fixes, please upgrade to a newer Unity version.
How to reproduce:
1. Open the attached "IN-84765" Project
2. Enter "SampleScene"
3. Resize the Game window until it's relatively small
4. Adjust the scale of the Game window to at least 2x for better observation, making sure that the visible canvas panel is situated on the leftmost corner of the Game window
5. Enter Play mode
6. Observe the Game window, where the text inside both canvas panels is of identical quality
7. Locate the "Text (TMP)" elements inside the "CardB" object in the Scene Hierarchy
8. Change the Material Shaders of "Text (TMP)" from "Distance field SSD" to "Distance Field"
9. Observe the Game view, where the Canvas panel "MenuB" that gets activated during Play mode now contains text that is out of focus
Expected result: Text should be in focus regardless of the Shader being utilized
Actual result: During step 6, text appears in focus, while in step 9, the text is out of focus
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
The project was assembled from three user provided folders, leading to minor corruptions, such as Scene view flickering. This should not impact testing
When downgrading to 2021.3.44f1, TMP elements might need to be reconfigured. Reinstalling the TextMeshPro package into the project and re-enabling Wrapping on all Text GameObjects in the Inspector makes the issue observable
After changing into the Distance Field SSD Material Shader, changing it back to SDF doesn’t always produce the same out-of-focus result, depending on the Editor version used
Resizing the Game window while in Play mode also makes the text go into focus and not reproduce the issue with SDF Shaders
Also reproducible in Player
Prioritise and Follow this issue
Have a workaround or additional info about this issue?