Search Issue Tracker
Fixed
Fixed in 14.0.7, 15.0.4, 16.0.0
Votes
1
Found in [Package]
14.0.6
15.0.4
16.0.0
Issue ID
SGB-439
Regression
Yes
[Shader Graph] New node is not created and the “NullReferenceException: Object reference not set to an instance of an object” error is printed when pressing “Create Node” after entering and exiting Play Mode
How to reproduce:
1. Create a new project using a 3D URP or HDRP template
2. Create a Shader Graph (Create > Shader Graph > URP/HDRP > Lit Shader Graph)
3. Open Shader Graph and undock it
4. Enter Play Mode and exit Play Mode
5. In the Shader Graph window right-click > Create Node
6. Observe the result
Expected result: Node is created
Actual result: Node is not created and the “NullReferenceException: Object reference not set to an instance of an object” error appears
Reproducible with: 14.0.4 (2022.2.2f1), 14.0.6 (2022.2.6f1), 15.0.4 (2023.1.0b3)
Not reproducible with: 10.10.1 (2020.3.44f1), 12.1.10 (2021.3.18f1), 14.0.4 (2022.2.1f1)
Reproduced on: macOS 12.4 (Intel)
Notes:
Reproducible with URP and HDRP
Not reproducible if the Shader Graph window is docked
Not reproducible in State Graph, Script Graph
-
Spikebor
Jan 06, 2024 08:03
Still has issue in 14.0.9
I have to go to 2022.2.1f1 to author the shader then import it back to the project. -
TheWanderingBen
Nov 07, 2023 20:43
Also in 14.0.9 and I see it happening. Can this please be reopened?
-
Cryztalfox
Oct 25, 2023 05:44
Issue appears to have resurfaced in 14.0.9.
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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Resolution Note (fix version 15.0.4):
Fixed in: Shader Graph 15.0.4 (2023.1.0b11)
Resolution Note (fix version 14.0.7):
Fixed in: Shader Graph 14.0.7 (2022.2.15f1)