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 Metaquest2 controllers are not recognized by Unity

Discussion in 'VR' started by miya111111, Jun 11, 2023.

  1. miya111111

    miya111111

    Joined:
    Aug 15, 2021
    Posts:
    3
    Sorry if this is hard to see as I am using a translation.
    I'm here to discuss development in Unity using MetaQuest2.
    【Development Environment】
    Windows 11
    Unity 2021.3.18f1
    Oculus Integration 54.0

    【Problem】
    Metaquest2 controllers are not recognized by Unity.
    I tried to move my hand in the Custom Hands scene in the usage folder of Oculus Integration, but the hand object was not synchronized with the controller, and the same happened in other scenes.
    To find the cause, I tried to vibrate the controller by writing "SetControllerVibration" and "OVRInput.Get" in a script and attaching it to an empty object, and tried to create an instance by pressing a button, but none of them responded. I thought there was a high possibility that the controller was not recognized on the Unity side.
    The Metaquest2 controller is working fine under normal circumstances, such as when using the oculus link. Also, since I can move the viewpoint with the HMD without any problem, it seems that only the controller is not recognized.
    I would appreciate it if you could provide a solution to this problem, as I have not been able to find any similar cases.
    I would also like to know if this happens under similar conditions, so if anyone can reproduce this situation, I would like to know what the behavior is like.

    2023-06-11_200111.png

    Translated with DeepL
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,362
    Which XR plugin do you use?
    Does the hmd track?
     
  3. ChescoRed

    ChescoRed

    Joined:
    Sep 29, 2018
    Posts:
    31
    I have the same problem with version 2022.3.1f1 and oculus integration v54
     
  4. lianne13

    lianne13

    Unity Technologies

    Joined:
    Jan 31, 2023
    Posts:
    21
    Last edited: Jun 14, 2023
  5. ChescoRed

    ChescoRed

    Joined:
    Sep 29, 2018
    Posts:
    31
  6. miya111111

    miya111111

    Joined:
    Aug 15, 2021
    Posts:
    3
    Hello,@DevDunk ,
    I use "Oculus" for XR Plug-in Management.
    HMD works well and can track.
    Only HMD controller doesn't work.
     
  7. miya111111

    miya111111

    Joined:
    Aug 15, 2021
    Posts:
    3