Search Issue Tracker

Active

Votes

0

Found in

2021.3.44f1

2022.3.49f1

6000.0.22f1

Issue ID

UUM-83386

Regression

No

TextMeshPro text elements are blurry when using SDF Material Shaders and having the Game or Player window set to a small resolution

--

-

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 in: 2021.3.44f1, 2022.3.49f1, 6000.0.22f1

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.