Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
12.1.11
14.0.7
15.0.5
16.0.1
Issue ID
SGB-587
Regression
No
"NullReferenceException" error when copying a Blackboard category from one Shader Graph to another
Reproduction steps:
1. Open the attached "repro_IN-41704.zip" project
2. In the "New Shader Graph" tab, copy one of the categories in the Blackboard
3. In the "New Shader Graph 1" tab, paste the copied category to the Blackboard
4. Observe the Console logs
Expected result: No error appears and the category is pasted into the Blackboard of the "New Shader Graph 1"
Actual result: "NullReferenceException: Object reference not set to an instance of an object" error appears and the category is not pasted into the Blackboard of the "New Shader Graph 1"
Reproduced with: 12.1.11 (2021.3.26f1), 14.0.7 (2022.2.21f1), 15.0.5 (2023.1.0b19), 16.0.1 (2023.2.0a17)
Could not test with: 10.10.1 (2020.3.48f1) - categories in the Blackboard are not available yet in this version
Reproduced on: Windows 10
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
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
- "Sample Gradient" node can be connected to the "Sub Mesh Mask" input and makes the VFX Graph uncompilable
Resolution Note:
I'm unable to reproduce this as of latest on each of our tech releases. I suspect this NRE was the result of a refactor of some of our UI systems that resulted in a few issues they later addressed.
If this issue persists, please reopen!