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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- 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
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!