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
- [Android] Audio sound is lower in the Player compared to the native music player
- Feet slide and misalign when playing retargeted animations
- IndexOutOfRangeException is thrown in NativePassCompiler when a graphics buffer is used in more than 5 render passes
- "Undo Stack Overflow" error is thrown, and Undo History is deleted when multiselected GameObjects are reparented to their GrandParents
- SearchColumn of type "ObjectReference" does not get refreshed for the custom SearchProvider when lighting generation finishes
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.