Search Unity

Question Controllers not tracked - Quest2-OpenXR

Discussion in 'VR' started by zhare86, May 10, 2022.

  1. zhare86

    zhare86

    Joined:
    Mar 28, 2017
    Posts:
    30
    Hi,

    I can't get controller/aim position/rotation tracking to work.

    I am using Quest2 and the Controller sample that comes with OpenXR UnityPlugin. I changed nothing in the sample.

    The buttons/triggers/thumbsticks/haptics work fine and their input is visualized in the UI, but moving the controllers does nothing and the GameObjects that should follow them stay at (0,0,0).

    Here's what I did:
    1. Follow the steps from https://docs.unity3d.com/Packages/com.unity.xr.openxr@1.3/manual/index.html
    2. Import the Controller sample project that comes with the OpenXR unity plugin from above step
    3. Import Oculus Integration SDK from https://developer.oculus.com/downloads/package/unity-integration
    4. Build an apk in release mode and install on Quest 2

    I appreciate any help. I am new to VR development but I am not new to Unity.