Search Unity

Bug Input Debugger Bug

Discussion in 'Input System' started by Hobodi, Jan 16, 2022.

  1. Hobodi

    Hobodi

    Joined:
    Dec 30, 2017
    Posts:
    101
    I can't run input debugger. The window is empty and there is an error in the console. The problem appears in any project on any version.


    ArgumentException: Illegal characters in path.
    System.IO.Path.Combine (System.String path1, System.String path2) (at <47ab72e0328040438980f9c23608e1ec>:0)
    UnityEngine.InputSystem.Editor.GUIHelpers.LoadIcon (System.String name) (at Library/PackageCache/com.unity.inputsystem@1.2.0/InputSystem/Editor/Internal/GUIHelpers.cs:48)
    UnityEngine.InputSystem.Editor.EditorInputControlLayoutCache.GetIconForLayout (System.String layoutName) (at Library/PackageCache/com.unity.inputsystem@1.2.0/InputSystem/Editor/EditorInputControlLayoutCache.cs:162)
    UnityEngine.InputSystem.Editor.InputDebuggerWindow+InputSystemTreeView.AddDevices (UnityEditor.IMGUI.Controls.TreeViewItem parent, System.Collections.Generic.IEnumerable`1[T] devices, System.Int32& id, System.Int32 participantId) (at Library/PackageCache/com.unity.inputsystem@1.2.0/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:689)
    UnityEngine.InputSystem.Editor.InputDebuggerWindow+InputSystemTreeView.BuildRoot () (at Library/PackageCache/com.unity.inputsystem@1.2.0/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:545)
    UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.FetchData () (at <13c5ad68fffb46969f1ca1df233d1e4d>:0)
    UnityEditor.IMGUI.Controls.TreeViewDataSource.ReloadData () (at <13c5ad68fffb46969f1ca1df233d1e4d>:0)
    UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.ReloadData () (at <13c5ad68fffb46969f1ca1df233d1e4d>:0)
    UnityEditor.IMGUI.Controls.TreeViewController.ReloadData () (at <13c5ad68fffb46969f1ca1df233d1e4d>:0)
    UnityEditor.IMGUI.Controls.TreeView.Reload () (at <13c5ad68fffb46969f1ca1df233d1e4d>:0)
    UnityEngine.InputSystem.Editor.InputDebuggerWindow+InputSystemTreeView..ctor (UnityEditor.IMGUI.Controls.TreeViewState state) (at Library/PackageCache/com.unity.inputsystem@1.2.0/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:407)
    UnityEngine.InputSystem.Editor.InputDebuggerWindow.Initialize () (at Library/PackageCache/com.unity.inputsystem@1.2.0/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:167)
    UnityEngine.InputSystem.Editor.InputDebuggerWindow.OnGUI () (at Library/PackageCache/com.unity.inputsystem@1.2.0/InputSystem/Editor/Debugger/InputDebuggerWindow.cs:197)
    UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <13c5ad68fffb46969f1ca1df233d1e4d>:0)
    UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <13c5ad68fffb46969f1ca1df233d1e4d>:0)
    UnityEditor.DockArea.OldOnGUI () (at <13c5ad68fffb46969f1ca1df233d1e4d>:0)
    UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
     
  2. SilasSK

    SilasSK

    Joined:
    Jun 5, 2016
    Posts:
    1
    I have the same issue on 2021.2.10f1
     
  3. jack-sinko

    jack-sinko

    Joined:
    Apr 6, 2022
    Posts:
    1
    For those looking for a fix, try right-clicking on the "Input System" folder in Project - Packages, and select "Reimport All".