Search Issue Tracker
Fixed
Fixed in 2022.3.59f1, 6000.0.23f1, future release
Votes
0
Found in
2021.3.40f1
2022.3.39f1
6000.0.12f1
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-76255
Regression
No
[ShaderGraph] Legacy nodes in the graph can result in a NullReferenceException when updating node
*Steps to reproduce:*
# Open the attached URP Unity Project in your modern Unity version (original project version is 2019.3.15f1 so that it has a legacy property)
# Open the 'New Shader Graph.shadergraph' asset in the Asset Browser
# Drag the legacy 'Color' property from the blackboard into the graph
# Click on the Color property in the graph (not in the Blackboard) and click 'Update' in the Graph Inspector
# Undo the update with Ctrl + Z
# Click on the Color property in the graph again and click 'Update' in the Graph Inspector
*Actual results:* A NullReferenceException is logged to console with the message 'Object reference not set to an instance of an object'
*Expected results:* The Color property is updated without a NullReferenceException
*Reproducible with versions:*
* 6000.0.12f1
* 2022.3.39f1
* 2021.3.40f1
*Not reproducible with versions:* -
*Can’t test with versions:* -
*Tested on (OS):* Windows 11
*Notes:*
* Updating the Color property from the Blackboard will not cause this error. It is specifically when updating the property from the graph after undoing a previous Update with Ctrl + Z.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment