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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
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!