Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in [Package]

4.10.0-preview

Issue ID

1229975

Regression

No

[URP][HDRP][Shader Graph]Remap node preview becomes pink when "In Min Max" property value is set to 1

Package: Shader Graph

-

Reproduction steps:
1. Create a new project
2. Create any Shader Graph
3. Create a Remap Node and set the Min/Max value to 1

Expected result: Remap node In Min/Max value set to 1 does not make the preview pink
Actual result: Remap node In Min/Max value set to 1 makes the preview pink

Reproduces on: Shader Graph 4.10.0-preview (2018.4.20f1), Shader Graph 7.1.8 (2019.3.7f1), Shader Graph 8.0.1 (2020.1.0b3, 2020.2.0a5)
Could test on 2017.4 (No package)

Notes:
-Reproduces with all Graphs
-The issue occurs only when both values are 1

  1. Resolution Note:

    The pink is coming from the fact that the calculations are attempting to divide by 0, which produces a NaN error.

    As to why it only happens in the preview renderer we're not sure, but we're in the middle of making larger changes to the Preview render pass so we're going to investigate after that is over, if it still reproduces.

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.