Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
9.0.0-preview.14
Issue ID
1243806
Regression
No
The GameObject is not lit by Directional Light which is directed to it when using Text Mesh component with custom shader
How to reproduce:
1. Open the attached project "case_1243806-TextMeshShaders"
2. Open the scene "SampleScene"
3. Enter the Play Mode
4. Observe the Game view
Expected results: the GameObject "TextMesh with Lit shader (1) (bug)" is lighted by the Directional light when it is directed to it
Actual results: the GameObject "TextMesh with Lit shader (1) (bug)" is not lighted by the Directional light even though it is directed to it
Reproducible with: 9.0.0-preview.14 (2019.3.16f1, 2019.4.2f1, 2020.1.0b15, 2020.2.0a16)
Could not test with: 2018.4.24f1 because Shader Graph package is not available
Notes:
1. It is not reproducible with built-in shaders because they are unlit and two-sided
2. The workaround is to flip the normals of the custom shader (using Negate node in the Shader Graph)
3. It is only reproducible when using the Text Mesh component
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Text Mesh is deprecated. SRP support for 3D Text will come with Text Mesh Pro.