Copyright © 2026 Unity Technologies
Thank you for reporting a bug to Unity. We have investigated the issue but were unable to reproduce it with the information provided. This can happen due to differences in environment, project setup, or steps taken. We will close this case for now. If you're able to share additional details such as different projects, steps, hardware/software configuration, or logs - please let us know, and we'll be happy to re-evaluate. For additional context; we can't seem to reproduce this issue as of 6.0 and beyond. There's a bit of noise here though, as the UV channel W channel for the quad used for previews
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:
Note: Up until version 6000.0.68f1, the “Distance” node preview appears white in step 5
Issues you vote on will appear here