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
-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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (fix version 10.1.0-preview.3):
Fixed in Package version 10.1.0