Search Issue Tracker

Fixed in 10.1.0-preview.3

Votes

0

Found in [Package]

10.0.0-preview.27, 9.0.0-preview33

Issue ID

1271618

Regression

No

[Shader Graph] NullReferenceException on assigning Sample Virtual Textures output(3) to Bent Normal(3) of the Fragment stage

Package: Shader Graph

-

-Node Setting window appears blank.
-ArgumentException on creating a new node, saving shader Graph and dragging any node to Graph editor.
-Unable to delete Virtual Texture and Sample Virtual Texture node.
-Unable to Save Shader Graph.
-There is no workaround.

Steps to repro:
1. Create a new HDRP template project
2. Project Window > Click on "+" > Shader > HDRP > StackLit Graph.
3. Open Graph > Blackboard > Virtual Texture > Drag in Graph Editor.
4. Assign to Sample Virtual Texture > Select Sample Virtual Texture.
5. Graph Inspector > Node Settings > Enable/Disable Automatic Streaming.
6. Assign out(3) to Bent Normal.
7. Save Assets > Enable/Disable Automatic Streaming.
8. Graph Inspector > Node Settings.

Actual Result:
NullReferenceException is thrown in the console.

Expected Result:
No error in the console.

Reproducible in:
2020.2.0a21, 2020.2.0a20 with Package version 10.0.0-preview.27, 9.0.0-preview33.
2020.2.0a19, 2020.2.0a1, 2020.1.3f1, 2020.1.0b13 with Package version 9.0.0-preview33.

Note:
-Virtual Texture node introduced in Shader Graph from 9.0.0-preview33.
-Refer attached stack trace.

Environment:
Occurring on Windows 10 & Mac 10.15.

  1. Resolution Note (fix version 10.1.0-preview.3):

    Fixed in Package version 10.1.0

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.