Search Unity

Bug xrLocateSpace fails with Vive tracker and Quest 2 in OpenXR

Discussion in 'VR' started by Thomas-Mountainborn, Jan 4, 2022.

  1. Thomas-Mountainborn

    Thomas-Mountainborn

    Joined:
    Jun 11, 2015
    Posts:
    501
    When trying to record LIV footage using a Vive tracker and Quest 2 (over Virtual Desktop / Air Link + SteamVR OpenXR), the VR output stays black. The log is filled with the following:

    [XR] [OpenXR Input]: [xrLocateSpace] Failed to locate view space relative to app space at time <59654483682658873> [ErrorCode: XR_ERROR_TIME_INVALID]
    [XR] [OpenXR Input]: [xrLocateSpace] Failed to locate space for ActionSet <oculustouchcontroller> Action <devicePose> SubPath </user/hand/left> at Time <> [ErrorCode: XR_ERROR_TIME_INVALID]
    [XR] [OpenXR Input]: [xrLocateSpace] Failed to locate space for ActionSet <oculustouchcontroller> Action <pointer> SubPath </user/hand/left> at Time <> [ErrorCode: XR_ERROR_TIME_INVALID]
    [XR] [OpenXR Input]: [xrLocateSpace] Failed to locate space for ActionSet <oculustouchcontroller> Action <devicePose> SubPath </user/hand/right> at Time <> [ErrorCode: XR_ERROR_TIME_INVALID]
    [XR] [OpenXR Input]: [xrLocateSpace] Failed to locate space for ActionSet <oculustouchcontroller> Action <pointer> SubPath </user/hand/right> at Time <> [ErrorCode: XR_ERROR_TIME_INVALID]
    ...

    It works fine when using the Index rather than the Quest 2. It seems there's some wires being crossed when using the Quest and Vive tracker together in OpenXR. Any help?

    Unity 2021.2.6f1, OpenXR 1.3.1
     
    Last edited: Jan 4, 2022
    julien_pc likes this.
  2. Thomas-Mountainborn

    Thomas-Mountainborn

    Joined:
    Jun 11, 2015
    Posts:
    501
    Going to give this a bump - this is a blocking issue.