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
- A TypeError occurs in the WebGL build when using a custom WebGL Build Profile with the Decompression Fallback option enabled
- UI Element navigation using the arrow keys sometimes becomes unresponsive when a DualShock 4 controller is connected
- NullReferenceException error occurs when selecting a Script element in the UI Builder Hierarchy
- Silent crash when opening a project with a HD Dynamic Resolution Component and a UHD Graphics card
- Crash on UnityMain when running Player which was built on 32-bit architecture with "Direct3D12" set as graphics API
Resolution Note (fix version 3.2.x):
Add missing _ScaleRatioA to HDRP and URP shaders