Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Vive Controllers not visible and reacting after XR Interaction Toolkit update

Discussion in 'XR Interaction Toolkit and Input' started by zikelgor, Nov 28, 2022.

  1. zikelgor


    Nov 10, 2022
    Update from version 1.0.0 pre8 to 2.2.0.

    The update seemed to go smoothly, no compile errors occured.
    Then, after starting the game, the HTC Vive controllers did not show up and were also not reacting to any input. No runtime errors have been observed.

    Unity version: 2020.3.33f1
    SteamVR version: 1.24.6

    Here is a screenshot of the attached XR controller script:

    All related scripts are activated and the new XR origin script has been added to my aggregating XR origin game object. The controllers appear as empty game objects and don't react to inputs.

    Am i being too lazy here with my update?
    What would be a recommended procedure for the latter?

    Kind regards

    Edit: I have attached stacktraces supporting the issue:

    Code (CSharp):
    1. ArgumentException: An item with the same key has already been added. Key: com.unity.openxr.feature.input.htcvive
    2. System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    3. System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    4. UnityEditor.XR.OpenXR.Features.OpenXRFeatureEditor.InitializeFeatures (UnityEditor.BuildTargetGroup group) (at Library/PackageCache/com.unity.xr.openxr@1.3.1/Editor/FeatureSupport/OpenXRFeatureEditor.cs:576)
    5. UnityEditor.XR.OpenXR.Features.OpenXRFeatureEditor.OnGUI (UnityEditor.BuildTargetGroup buildTargetGroup) (at Library/PackageCache/com.unity.xr.openxr@1.3.1/Editor/FeatureSupport/OpenXRFeatureEditor.cs:474)
    6. UnityEditor.XR.OpenXR.PackageSettingsEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.xr.openxr@1.3.1/Editor/PackageSettingsEditor.cs:84)
    7. UnityEditor.XR.Management.XRConfigurationProvider.OnGUI (System.String searchContext) (at Library/PackageCache/
    8. UnityEditor.SettingsWindow.DrawControls () (at <3371b3e2e5754acd87e600e068350da5>:0)
    9. UnityEditor.SettingsWindow.DrawSettingsPanel () (at <3371b3e2e5754acd87e600e068350da5>:0)
    10. 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 <f79d3e63281a46a1a061d66eff76f483>:0)
    11. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

    Code (CSharp):
    1. GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    2. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    Last edited: Nov 28, 2022