0
ctrl-c in fallback shader name field causes error
after selecting the fallback shader name from the pulldown list, I went to "copy" the name.. highlighted it, and used "ctrl-c" (copy hotkey) and get this error in console:
NullReferenceException: Object reference not set to an instance of an object
ShaderForge.SF_SelectionManager.CopySelection ()
ShaderForge.SF_SelectionManager.OnGUI ()
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/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
NullReferenceException: Object reference not set to an instance of an object
ShaderForge.SF_SelectionManager.CopySelection ()
ShaderForge.SF_SelectionManager.OnGUI ()
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/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Сервис поддержки клиентов работает на платформе UserEcho
edit > project settings > graphics
when selecting the "o" icon for the field "element 0" to select included shaders for the build, I get the following errors produced:
ArgumentException: Empty path not allowed
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.IO/StreamReader.cs:159)
System.IO.StreamReader..ctor (System.String path)
(wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
System.IO.File.OpenText (System.String path) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.IO/File.cs:368)
System.IO.File.ReadAllLines (System.String path) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.IO/File.cs:560)
ShaderForge.SF_Parser.ExtractShaderForgeData (UnityEngine.Shader s, Boolean setPath, Boolean findRenderers, Boolean findLOD)
ShaderForge.SF_Parser.ContainsShaderForgeData (UnityEngine.Shader s)
UnityEditor.ShaderForgeInspector.AnalyzeShader ()
UnityEditor.ShaderForgeInspector.OnEnable ()
UnityEditor.HostView:OnGUI()
.. i'm not 100% certain though this is related to Shader Forge or just something strange in Unity going on.