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
- Crash on RaiseException when terrain detail instancing is excessive
- Prefab variant reference is lost when assigned by click-and-drag in Prefab Editor mode
- Opening any dropdown in Shader Graph stops the Nodes preview but it still plays in the background
- GPU utilization increases when a GameObject is selected
- Motion Blur has sharp edges when object is moving in the foreground of another object
Resolution Note (fix version 3.2.x):
Add missing _ScaleRatioA to HDRP and URP shaders