0
Corrigé
Shaderforge window stops updating (0.14) (w7k-x64, Unity 4.2.1f)
I've bumped into an issue where the shaderForge editor stops updating. It happens on a specific shader. As a simpler shader where I'm doing the same thing does not produce a crash I am wondering if my current shader is contaminated in some way? So far it's happening when I connect a sin node to a multiply node and also when I try and delete a node in this shadertree.
The end result is that several nodes disappear while others remain, a few of the connecting lines are still there and the shader ball is still rotating. But I can't do anything to the ShaderForge window. However I still have connection to unity where I can continue work.
The only way out of this is to quit unity and restart.
Joachim, as it seems to be related to my current shader (it's newly created in .14) are you interested in an upload of it. Or can I provide you with anything else?
The end result is that several nodes disappear while others remain, a few of the connecting lines are still there and the shader ball is still rotating. But I can't do anything to the ShaderForge window. However I still have connection to unity where I can continue work.
The only way out of this is to quit unity and restart.
Joachim, as it seems to be related to my current shader (it's newly created in .14) are you interested in an upload of it. Or can I provide you with anything else?
Service d'assistance aux clients par UserEcho
Are you getting any errors in the console when the shader is opened for the first time?
Are you getting any errors in the console when a node is deleted?
It's spamming the console with these two errors at that time:
Red Warning:
NullReferenceException: Object reference not set to an instance of an object
ShaderForge.SF_Node.GetInputData (System.String id)
ShaderForge.SF_Node_Arithmetic.IsUniformOutput ()
ShaderForge.SFN_If.IsUniformOutput ()
ShaderForge.SF_Node.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 /Applications/buildAgent/work/c514da0c8183631c/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Yellow Warning:
Attempt to find input node of connector B of Multiply
UnityEngine.Debug:LogWarning(Object)
ShaderForge.SF_Node:GetInputData(String)
ShaderForge.SF_Node_Arithmetic:IsUniformOutput()
ShaderForge.SFN_If:IsUniformOutput()
ShaderForge.SF_Node:Draw()
ShaderForge.SF_EditorNodeView:OnLocalGUI(Rect)
ShaderForge.SF_Editor:OnGUI()
UnityEditor.DockArea:OnGUI()
http://pastebin.com/SWzb45eU
Let me know if the issue reappears when 0.15 is out :)