Search Issue Tracker

Fixed in 7.1.1

Votes

7

Found in [Package]

5.7.2

Issue ID

1140924

Regression

No

[Shader Graph] Shader doesn't compile when using a Gradient property and a regional format with comma decimal separator

Package: Shader Graph

-

How to reproduce:
1. Set regional format to "Russian (Russia)" in Control Panel > Region
2. Open the attached "case_1140924-ShaderGraphGradient.zip" project and open scene "main"
3. In the Project window, "select Shaders\Doesn't Compile.shadergraph"

Expected results: The shader is compiled successfully
Actual results: The shader does not compile

Reproducible with: 2018.3.14f1, 2019.1.0f2, 2019.2.0a13

Notes:
1. Related to Case 1089361
2. The compilation fails with this error: "Shader error in <SHADER NAME>: incorrect number of arguments to numeric-type constructor at line 1831 (on d3d11)"

Comments (3)

  1. y0ungun1hick

    Feb 22, 2024 09:10

    This applies to locations in United States too.

  2. mateusthiago

    Nov 29, 2019 01:07

    And Brasil also

  3. rejome

    Aug 19, 2019 15:16

    Valid for French and German locales.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.