Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.3.8f1

6000.4.0b10

6000.5.0a7

6000.6.0a1

Issue ID

UUM-135921

Regression

Yes

"Distance" node's preview ignores manually typed Input A values when connecting another node with a different vector dimension

ShaderGraph

-

How to reproduce:
1. Open the attached “IN-134624.zip” project
2. Open the “TestShaderGraph” Lit Shader Graph
3. Connect the “UV” node’s Out(4) to the “Distance” node's B(1) input
4. Change the “x” and “y” values of the “Distance” node's A(4) input to 0.5
5. Observe the “Distance” node preview. Notice that there is a black dot in the center, fading out to white
6. Disconnect the “UV” node from the “Distance” node
7. Connect the “UV” node’s Out(4) to the “Swizzle” node’s In(1)
8. Connect the “Swizzle” node’s Out(4) to the Distance node’s B(1) input
9. Change the “Swizzle” node's Mask value to "xy"
10. Observe the “Distance” node preview

Actual result: The black dot is in the bottom-left corner, fading to white
Expected result: The black dot is in the center, fading to white

Reproducible with: 2023.3.0a5, 6000.0.68f1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7
Not reproducible with: 2023.3.0a4

Reproducible on: macOS 15.3.2 (24D81) (M1 Max)
Not reproducible on: No other environments tested

Workarounds:

  • Manually re-enter “x” or “y” value of the “Distance” node's A(4) input
  • Close and re-open affected Shader Graph

Note: Up until version 6000.0.68f1, the “Distance” node preview appears white in step 5

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.