- Home /
ShaderGraph CodeFunctionNode inaccessible due to it's protection level.
I added the shader graph package to my project then added a custom node script but it says the base class CodeFunctionNode is inaccessible due to it's protection level. From everything I can find online this is the way to create custom nodes so why is it inaccessible? Is there a fix for this?
I am also having this issue in Unity 2019.1 and cannot seem to find a way to fix it. Anyone have any ideas?
Answer by inkblob · Apr 24, 2019 at 10:10 PM
Looks like this feature is being deprecated in favor of the new Custom Function node. See this forum post:
Your answer
![](https://koobas.hobune.stream/wayback/20220612194941im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Noise node column to "texture" in shader graph? 0 Answers
Shader Graph not showing when included in build? 0 Answers
How to add sprite or particles on shader 0 Answers
Shader Graph Positioned Vertex Normals 2 Answers
Make shader for UI 5 Answers