Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Failed to create Action with result 'XR_ERROR_PATH_UNSUPPORTED'

Discussion in 'VR' started by CBHM, Jan 4, 2023.

  1. CBHM

    CBHM

    Joined:
    Feb 12, 2019
    Posts:
    32
    Hi,
    I am trying to add the HTCViveTrackerProfile, which works fine when using Steam VR, Valve Index Controller, and OpenXR Runtime is Set to SteamVR.

    But throws an error "Failed to create Action 'htcvivetracker/devicepose' with result 'XR_ERROR_PATH_UNSUPPORTED'" when I try to use Oculus and Set the OpenXR runtime to Oculus. In addition to that the Oculus Controller stops working, they don't even show up in the input debugger.
    I have also noticed that the error shows up after the xr session begins

    I am using the XRI Default Input Actions that come with the XR Interaction Toolkit Starter assets sample

    HTC Vive Tracker Profile:
    https://forum.unity.com/attachments/htcvivetrackerprofile-cs.986229/

    Input Debugger doesn't show the controller under devices:

    upload_2023-1-4_12-47-59.png

    Interaction Profiles:

    upload_2023-1-4_12-49-50.png

    Scene Setup and XRControllers:

    upload_2023-1-4_12-51-50.png

    Left Hand Input Actions:

    upload_2023-1-4_12-52-30.png

    Right Hand Input Actions:


    upload_2023-1-4_12-53-19.png
    • Unity Version: 2020.3.35f1
    • OpenXR plugin: 1.4.2
    • Oculus XR plugin: 1.12.1
    • Input System: 1.3.0
    • XR interaction toolkit: 2.2.0

      Am I missing something?
      Thank you!
     
    Last edited: Jan 6, 2023
    ROBYER1 likes this.
  2. CBHM

    CBHM

    Joined:
    Feb 12, 2019
    Posts:
    32
  3. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,449
  4. CBHM

    CBHM

    Joined:
    Feb 12, 2019
    Posts:
    32
    We used
    [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSplashScreen)] On the function, also we have initialize XR on Startup unchecked.