Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.6f1
2020.2
Issue ID
1230280
Regression
No
Shader fails to compile when Shader header uses non english alphabet characters
Steps to reproduce:
1. Open User-supplied project
2. Inspect the material
Expected: its shader fails to compile.
Actual: its shader compiles
Reproduced in: 2018.4.20f1, 2019.2.21f1, 2019.3.6f1, 2020.1.0b3, 2020.2.0a4
Note: If you comment out the header: [Header(This doesn't work: + - / * ^ ' " å ä ö é @ $ % ? ;)], the shader will compile
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] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Currently we do not intend to support UTF-8 character in the shaderlab property fields. This is unlikely to change in the near future.