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 ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 3.2.x):
Add missing _ScaleRatioA to HDRP and URP shaders