Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question When did UnityEngine.XR.OpenXR.Input.PoseControl change to UnityEngine.InputSystem.XR.Posecontrol?

Discussion in 'Input System' started by ROBYER1, Jun 3, 2023.

  1. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,450
    Unity asset store developer here, I made an animation tool for Vive trackers using UnityEngine.XR.OpenXR.Input.PoseControl but recently I have found in Unity 2022 since Upgrading from Unity 2020 that I get issues if I don't use UnityEngine.InputSystem.XR.Posecontrol

    I'm at a total loss as to where this change from UnityEngine.XR.OpenXR.Input.PoseControl to UnityEngine.InputSystem.XR.Posecontrol happened and how I can #ifdef it for users.

    I was initially supporting Unity 2020.x to 2022.x but now I was notified that in 2022.2.19f1 the issue of XR_ERROR_PATH_UNSUPPORTED arises and I'm struggling to backtrack it between Unity 2020/2021/2022
     
    Gary_Ember likes this.
  2. ProfPivec

    ProfPivec

    Joined:
    Sep 21, 2012
    Posts:
    28
    Did you sort this? I changed UnityEngine.XR.OpenXR.Input.PoseControl to UnityEngine.InputSystem.XR.Posecontrol and yet I still get the error to "Fix" in the project validation.

    Is this just a warning message that displays regardless???