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.
  2. Dismiss Notice

Resolved XR Input Modality Manager component not functioning correctly

Discussion in 'XR Interaction Toolkit and Input' started by Tufftyboola, Jul 25, 2023.

  1. Tufftyboola

    Tufftyboola

    Joined:
    Jan 28, 2021
    Posts:
    5
    Hi, firstly I am not an expert in anyway so I may have missed something simple (including am I in the right Forum, my first post), but I am trying to use Hand Tracking and Motion Controllers on an OpenXR project via Oculus Quest 2.

    My current set up (mostly the "XR Interaction Hands Setup" from XR Interaction Toolkit 2.4.3) is not working as the manual suggests for the component - XR Input Modality Manager.

    If I start the runtime with the controllers in my hand they work as I set them up.

    Then when I put the controllers down, my hands appear and work as expected, but when I pick the controllers back up and they do not reappear. However the joysticks work in a fashion, but not the grab etc.

    From my days spent trying to find a solution it seems the Motion Controllers Section is not working correctly. I have swopped the Hand prefab with the Controller prefab and I get the same result i.e. whatever is in the Motion Controllers section will only work correct if used on Awake of the project, if it is put down or not used at the start of the project runtime it has the aforementioned outcome.

    I am using:
    2022.3.5,
    XR Hands 1.2.1
    XR Interaction Toolkit 2.4.3
    XR Plugin Management 4.4.0

    Thank you to anyone who can advise, as said I am not an expert.

    FYI I have managed to get the Meta Controllers for Hand set up on another project, which seem to work the best so far. So I am hoping that this OpenXR version is going through a developmental teething process and aims to match what Meta is offering via the Oculus Integration Package 55.0
     
  2. davidresolution

    davidresolution

    Joined:
    Apr 29, 2021
    Posts:
    6
    I am having the same issue with the caveat that I can't get the controllers to work/show up with the "HandsDemoScene" and the "XR Interaction Hands Setup". They seem to be correctly setup in the "XR Input Modality Manager" but nothing happens ingame when I try to change from hand tracking to controllers or even when I start the app with controllers.
     

    Attached Files:

  3. davidresolution

    davidresolution

    Joined:
    Apr 29, 2021
    Posts:
    6
    Found the solution after posting this.

    I was using both "Meta Quest Touch Pro Controller Profile" and "Oculus Touch Controller Profile" so the controllers were not being tracked correctly.

    I changed to using only one profile and it now works, independently if I use the Touch Pro or just the Touch.
     

    Attached Files:

  4. Tufftyboola

    Tufftyboola

    Joined:
    Jan 28, 2021
    Posts:
    5
    It looks like my issue is resolved.

    I added my Controller Prefab to the XRI Default Left/Right Controller in the XR Interaction Toolkit, helded within the XR Controller (Action-based) component.



    And switched off the XR Input Modality Manager.

    Now I can change between hands and controllers.
     
    Last edited: Jul 28, 2023