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
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Add comment