Search Issue Tracker
By Design
Votes
0
Found in [Package]
3.0.3
Issue ID
1309290
Regression
No
TextMeshPro Material Properties set at runtime are ineffective in Build
Reproduction steps:
1. Download and open the attached project 'TextMeshProMaterial.zip'
2. Open Scene 'SampleScene'
3. Build and Run the Game
4. Observe the Game
Expected result: Material Properties are changed
Actual result: Material Properties aren't changed
Reproducible with: 1.5.3 (2018.4.30f1), 2.1.3 (2019.4.19f1), 3.0.3 (2020.2.3f1, 2021.1.0b4, 2021.2.0a3)
Notes: The issue is not reproducible in Editor's Play Mode. The issue was reproducible both in macOS and Windows Builds.
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
- [Rendering Debugger] Shortcut in documentation to open window doesn't work
- The "Compress Tilemap Borders" function is not working when used via the Context Menu or through Script
- HDRP Sorting Priority not working when Render Pass is locked on a parent material
- [XR] Camera view rendered by the RenderTexture is not updated at runtime when XR is enabled
- Lens Flare occlusion is slightly delayed when Anti-aliasing is set to TAA
Resolution Note:
Although this is by design as a result of the shaders using #pragma shader_feature, I will revise the shaders in the future to use #pragma multi_compile_local which will result in the shader variants being included by default instead of requiring the user to include them manually which is often overlooked.