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
Comments (3)
-
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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
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)