Unity-Technologies / InputSystem

An efficient and versatile input system for Unity.
Other
1.43k stars 310 forks source link

Argument Exception when input manager analysis window open [2019.3.0a7 - 0.9.2 ] #783

Closed JamhammerRob closed 5 years ago

JamhammerRob commented 5 years ago

I get this error when I have the

ArgumentException: Expecting name at position 0 in ',' Parameter name: text UnityEngine.InputSystem.Utilities.NameAndParameters.ParseNameAndParameters (System.String text, System.Int32& index) (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Utilities/NameAndParameters.cs:82) UnityEngine.InputSystem.Utilities.NameAndParameters.ParseMultiple (System.String text, System.Collections.Generic.List1[UnityEngine.InputSystem.Utilities.NameAndParameters]& list) (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Utilities/NameAndParameters.cs:51) UnityEngine.InputSystem.Utilities.NameAndParameters.ParseMultiple (System.String text) (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Utilities/NameAndParameters.cs:31) UnityEngine.InputSystem.Editor.InputDebuggerWindow+InputSystemTreeView.AddActionItem (UnityEditor.IMGUI.Controls.TreeViewItem parent, UnityEngine.InputSystem.InputAction action, System.Int32& id) (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:825) UnityEngine.InputSystem.Editor.InputDebuggerWindow+InputSystemTreeView.AddUser (UnityEditor.IMGUI.Controls.TreeViewItem parent, UnityEngine.InputSystem.Users.InputUser user, System.Int32& id) (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:562) UnityEngine.InputSystem.Editor.InputDebuggerWindow+InputSystemTreeView.BuildRoot () (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:427) UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.FetchData () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDataSource.cs:53) UnityEditor.IMGUI.Controls.TreeViewDataSource.ReloadData () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewDataSource.cs:53) UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.ReloadData () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDataSource.cs:25) UnityEditor.IMGUI.Controls.TreeViewController.ReloadData () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:289) UnityEditor.IMGUI.Controls.TreeView.Reload () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControl.cs:105) UnityEngine.InputSystem.Editor.InputDebuggerWindow+InputSystemTreeView..ctor (UnityEditor.IMGUI.Controls.TreeViewState state) (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:359) UnityEngine.InputSystem.Editor.InputDebuggerWindow.Initialize () (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:150) UnityEngine.InputSystem.Editor.InputDebuggerWindow.OnGUI () (at Library/PackageCache/com.unity.inputsystem@0.9.2-preview/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:180) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at :0) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:367) UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:361) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:337) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:392) UnityEditor.DockArea.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:358) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:280) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)`

Rene-Damm commented 5 years ago

Yup, that's my bad. Sorry about that. Fixed by #778. Should be available in package shortly.

Rene-Damm commented 5 years ago

Should be fixed as of 0.9.3.