0

hotkeys broken

skeletorso fa 6 anys 0

Some letters will work as a hotkey to bring up node options, but most don't. I'm using Unity 2017.1.1f1 and Shader Forge 1.38.


Getting the following error log in Unity:


ArgumentOutOfRangeException: < 0 || >= this.Length
Parameter name: startIndex
System.String.LastIndexOf (Char value, Int32 startIndex, Int32 count) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/String.cs:1309)
System.String.LastIndexOf (Char value, Int32 startIndex) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/String.cs:1299)
UnityEngine.TextEditor.SelectToPosition (Vector2 cursorPosition) (at /Users/builduser/buildslave/unity/build/Runtime/IMGUI/Managed/TextEditor.cs:565)
UnityEditor.EditorGUI.DoTextField (UnityEditor.RecycledTextEditor editor, Int32 id, Rect position, System.String text, UnityEngine.GUIStyle style, System.String allowedletters, System.Boolean& changed, Boolean reset, Boolean multiline, Boolean passwordField) (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorGUI.cs:846)
UnityEditor.EditorGUI.TextFieldInternal (Rect position, System.String text, UnityEngine.GUIStyle style) (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorGUI.cs:1381)
UnityEditor.EditorGUI.TextField (Rect position, System.String text, UnityEngine.GUIStyle style) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorGUIBindings.gen.cs:96)
ShaderForge.SF_Node.UndoableTextField (Rect r, System.String value, System.String undoInfix, UnityEngine.GUIStyle style, Boolean readPropertyName)
ShaderForge.SF_Node.DrawWindow ()
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 /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
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:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:272)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:265)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:232)