Search Issue Tracker
Fixed
Fixed in 3.2.x
Votes
0
Found in [Package]
3.2.x
Issue ID
TMPB-169
Regression
No
Setting the text Font Style to bold throws errors when using LiberationsSans SDF Material
Steps to reproduce:
1. Open the attached “SDFBug” project
2. Open the “SampleScene” scene
3. Select “GameObject” GameObject
4. In the Inspector window “TextMeshPro - Text” component, disable and enable the Font Style Bold property
Expected result: Enables bold text
Actual result: Enables bold text and throws error “Material 'LiberationSans SDF Material' with Shader 'TextMeshPro/SRP/TMP_SDF-URP Lit' doesn't have a float or range property '_ScaleRatioA'
UnityEngine.Material:GetFloat (int)”
Reproducible with: 3.0.6 (2020.3.44f1, 2021.3.17f1, 2022.2.3f1, 2023.1.0b1), 3.2.0-pre.1, 3.2.0-pre.2, 3.2.0-pre.3, 3.2.0-pre.4 (2020.3.44f1)
Reproduced on: macOS Monterey 12.2 (Intel)
Note: The issue is reproducible in an Editor and in a build
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
Resolution Note (fix version 3.2.x):
Add missing _ScaleRatioA to HDRP and URP shaders