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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note:
Text Mesh is deprecated. SRP support for 3D Text will come with Text Mesh Pro.