Search Issue Tracker
Fixed in 5.13.0
Votes
0
Found in [Package]
2.0.1-preview
Issue ID
1100945
Regression
No
[ShaderGraph] You can connect nodes with output not applicable to the Master Node in the Sub-graph
You can connect nodes with output not applicable to the Master Node in the Sub-graph, but deleting that unapplicable node, creates "NullReferenceException" and overall breaks the Shader Editor
Reproduction steps:
1. Open "1100945" project
2. Connect "Sample Texture 2D" to the "Add" node and "Save Asset"
3. Notice that the Shader is Pink (Broken) and you can't connect Sub-graph output to PBR Master Position
4. Delete "Sample Texture 2D" and "Save Asset"
5. Notice "NullReferenceException"
6. Try to delete the connection between the Sub-graph and the PBR Master
7. Notice "NullReferenceException"
8. Try to connect the Sub-graph and the PBR Master
9. Notice "NullReferenceException"
10. Notice that the Editor is very laggy and the connection doesn't disappear on click and produces more "NullReferenceException"
Expected Result: Can't connect, or an error or pop-up appears when trying to, nodes with output not applicable to the Master Node in the Sub-graph, saying why you can't connect those nodes or displaying some visual feedback which indicates that the nodes can't be connected.
Actual Result: You can connect nodes with output not applicable to the Master Node in the Sub-graph, but deleting that unapplicable node, creates "NullReferenceException" and overall breaks the Shader Editor
Fixed in: Shader Graph v5.13.0
Reproduced with: 2019.2.0a5, 2019.1.0b3, 2018.3.6f1
Did not reproduce on: 2017.4.20f2 (No packages)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment