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
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
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
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)