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
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
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.