Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Resolved Fix for Oculus Quest 2 controllers not tracking in Open XR

Discussion in 'XR Interaction Toolkit and Input' started by auzzymo, Jan 21, 2024.

  1. auzzymo

    auzzymo

    Joined:
    Nov 19, 2017
    Posts:
    17
    I've been reading and checking a lot of the documentation but couldn't find a solution for my controllers not appearing or moving my character.

    I've found a fix and to be honest I'm not sure how it's worked but it has and I can't see whats different.
    I used the XR Rig Interaction prefab in the XR interaction toolkit samples.

    1. Enable Open XR.
    2. Disable Meta XR in the Feature groups.
    3. Run your game and it will ask to "Enable Meta" so enable it. Hands and controllers should work now.
    4. Drag the current XR Rig into prefabs and use that one for your game. Should work fine now.

    The out of the box XR Rig Interaction prefab must have had some incorrect settings and when you enable Meta XR at runtime it appears to fix them.

    Either way it's a hack and it's got me going again so hopefully I can save anyone else who comes across this problem all the time I spent on it.
     
    LuffyYu, Averlimet and tam_builds like this.
  2. tam_builds

    tam_builds

    Joined:
    Jan 16, 2021
    Posts:
    1
    Thank you, this was quite annoying
     
  3. al57

    al57

    Joined:
    Feb 13, 2014
    Posts:
    14
    You just saved my life en a short dead line
     
  4. RogueStargun

    RogueStargun

    Joined:
    Aug 5, 2018
    Posts:
    296
    This hacked seemed to fix my project for Play mode only, but when I actually build the game, OpenXR doesn't seem to work at all in the oculus quest 2 windows build (!!!)
     
    Last edited: Mar 16, 2024