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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
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.