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

Question BUG? Need help: Quest 2 controllers not working with interaction toolkit

Discussion in 'XR Interaction Toolkit and Input' started by sts474, Jul 12, 2023.

  1. sts474

    sts474

    Joined:
    Oct 8, 2019
    Posts:
    6
    Hi together,

    I am using unity 2022.3.4f1 and a quest2 to develop a sample VR scene.

    I followed some tutorials and installed the openXR for Windows and Android. I installed the interaction profiles for HTC Vive and Oculus Touch Controllers, too.
    I am using the interaction toolkit 2.4.0 with the starter samples and everything is fine with no errors.

    When I open the Demo-scene from the starter assets and press play to stream to my quest 2, the scene shows up in my headset, but the controllers dont show up.
    The continuos move is working when I press a button, but the contollers get not tracked and no render model is showing up.

    Thanks a lot for helping me out!
    Best regards, Stefan
     
  2. sts474

    sts474

    Joined:
    Oct 8, 2019
    Posts:
    6
    resolved but I stay with questions:
    In the openXR settings I enabled multiple controller interaction profiles for windows and android.
    The HTC Vive Controller for example.
    If I remove these and stay only with the Oculus touch Controller Profile it works.
    But I thought this is the advantage of openXR, that it is a multi-platform-toolkit?
    Best regards, Stefan
    upload_2023-7-12_10-25-39.png
     
    Poonaka likes this.
  3. mahdimohamed0106

    mahdimohamed0106

    Joined:
    Jul 12, 2023
    Posts:
    1
    Hello brother, im getting the same issue, where I cannot use the controller with my htc vive headset. I tried many things but it doesn't work. I heard that openxr doesn't support the xr interaction toolkit. do you have any suggestions?
     
  4. sts474

    sts474

    Joined:
    Oct 8, 2019
    Posts:
    6
    Hi,
    i thought the xr interaction toolkit is especailly designed for openxr...
    Best regrads,
    Stefan
     
  5. sts474

    sts474

    Joined:
    Oct 8, 2019
    Posts:
    6
  6. sts474

    sts474

    Joined:
    Oct 8, 2019
    Posts:
    6
    it really seems to be a bug in the xr interaction toolkit 2.4.
    It works with:
    unity 2022.3.4f1
    XR Plugin Management 4.4.0
    XR interaction Toolkit, but in the version 2.3.2

    I loaded the sample Demo.scene with HTC and Oculus Touch controller profiles activated and it works with oculus link.

    Best regards, Stefan
     
  7. ericprovencher

    ericprovencher

    Unity Technologies

    Joined:
    Dec 17, 2020
    Posts:
    146
    What’s your OpenXR version in both configurations? There was a change that affected hand tracking between 1.7.0 and 1.8.1. It might have affected your setup as well.

    There’s nothing that should have broken vive wands between xri 2.3 and 2.4. The OpenXR package is much more important to look at, as well as the lts version. Also I’d grab the latest lts update when that drops to check as well as there may be fixes in it.
     
  8. ThatDarnCat

    ThatDarnCat

    Unity Technologies

    Joined:
    Jan 4, 2017
    Posts:
    23
    One thing to check is what OpenXR Runtime you have set on your system. Steam and Oculus both have their own OpenXR Runtimes. Oculus Link will only properly detect controllers if you set Oculus as your OpenXR Runtme in the desktop app (see screenshot below).

    image (1).png
     
    ericprovencher likes this.
  9. Poonaka

    Poonaka

    Joined:
    Dec 22, 2012
    Posts:
    2
    Thank you! This worked for me too. I hope they can fix this soon.
     
  10. GuillaumeDoucet

    GuillaumeDoucet

    Joined:
    Jul 15, 2021
    Posts:
    2
    I am running into the same issue with development for Quest 2 and Quest Pro. I have tried multiple combinations of package versions but I can't replicate the fix mentioned above on:
    Unity 2022.3.4f1
    XR Plugin Management 4.4.0
    XR interaction Toolkit 2.3.2

    I tried with Oculus XR Plugin 4.0.0, OpenXR versions 1.7.0 and 1.8.2, updated XR Interaction Toolkit to 2.4.3 and 2.5.0, clean builds every time.

    On every Android build, as soon as I have two Interaction Profiles for Oculus Touch and Quest Pro, the controllers stop tracking. Hand tracking works fine, but not controllers. If I'm testing on a Quest 2 and remove the Quest Pro interaction profile, it works like a charm.

    At this point any help would be appreciated.