0

EZ repeatable crash: Connect empty code node to Texture2D TEX input

behealed 8 ár síðan 0

1) Create a Texture Asset node, add a default texture to it I guess

2) Create a Code node, but add no code to it.

3) Create a Texture2D Property node.

4) Set both input and output of empty code node to "Sampler2D"

5) Connect Texture Asset to code node's input

6) Connect code node's output to Texture2D's "TEX" input.

7) Null reference errors spamming in the console. SF is locked up.


NullReferenceException: Object reference not set to an instance of an object

ShaderForge.SFN_Tex2d.get_TextureAsset ()
ShaderForge.SFN_Tex2d.Draw ()
ShaderForge.SF_EditorNodeView.OnLocalGUI (Rect r)
ShaderForge.SF_Editor.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)