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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 3.2.x):
Add missing _ScaleRatioA to HDRP and URP shaders