Search Issue Tracker
Fixed in 3.4.0
Votes
0
Found in [Package]
3.0.0
Issue ID
1067767
Regression
Yes
[Regression] Shadergraph "Show Generated Code" option fails and throws the "Argument cannot be null" error
How to reproduce:
1. Create a new Project
2. In the Package manager, find and install the Lightweight render pipeline 3.0.0 and Shadergraph 3.0.0
3. Create a new PBR Shadergraph
4. Right-click the master node and click "Show Generated Code"
5. Observe the console
Expected result: The generated shader code is shown successfully
Actual result: Unity throws "Argument cannot be null" error in the console
Reproduced with: Shadergraph 3.1.0, Shadergraph 3.0.0
Not reproducible with: Shadergraph 2.0.8
Note: The bug reproduces with both HDRP and LWRP. "Show generated code" option works fine if the either the Shadergraph package or the Render Pipeline package is on the 2.0.8 version.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment