Search Issue Tracker

Fixed in 12.0.X

Fixed in 10.6.0, 12

Votes

0

Found in [Package]

10.x.x

Issue ID

1330302

Regression

Yes

[Shadergraph] Switching floating point float/vector1 with fractional value to Integer mode keeps fractional value

Package: Shader Graph

-

Doesn't reproduce in 7.3.1
Reproduces in 10.4.0
Repro steps:
1. Create a float/vector 1
2. set the value to 0.9
3. change the float/vector1's mode to "Integer" without making any edits to the "default" field
4. Save the graph and make a material from the graph
Expected result: the default value of the float is 0
Actual result: the default value of the float is 0.9

Alternatively, you can plug the property into a "Fraction" node (the node preview should be black, but when the bug repros, it's near-white)

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.