Jump to content

Jason D

Verified Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Jason D

  1. I have the same issue. I'm using the SteamVR null driver and I have the tracker working in Unity using the SteamVR plugin, but I'm only getting about 30 Hz updates.
  2. (If my previous post with error messages goes through) I was able to fix it, I changed: HTCViveTrackerProfile.cs // line ~14 // Comment out: //using PoseControl = UnityEngine.XR.OpenXR.Input.PoseControl; // Change to: using PoseControl = UnityEngine.InputSystem.XR.PoseControl; Unity deprecated UnityEngine.XR.OpenXR.Input.PoseControl (it says so if you mouse over it in Visual Studio), they suggest UnityEngine.InputSystem.XR.PoseControl instead. Now I just need to keep something on my Oculus Quest 2's sensor to make it think a user is in the headset, and I receive tracking in Unity. Trying to figure out if I can eliminated the headset now.
  3. Managed to get the trackers somewhat working in PC VR. I've joined the discord (https://discord.gg/viverse) to get access to the beta. I installed the Vive Streaming Hub (https://www.vive.com/us/support/vs/category_howto/using-vive-streaming.html). Paired & calibrated the tracker with the help of an Oculus Quest 2. Assigned the tracker as Camera in SteamVR. I logged in & followed the VIVE_Ultimate_Tracker_PC_OpenXR_v2.pdf, however, it is not working. I'm on Unity 2022.3.16, URP, OpenXR Plugin + Vive OpenXR. Added the HTC VIVE Tracker Profile C# script to the project: Created an Input Action asset and assigned the camera tracker: I get a warning: No GetDeviceLayoutName() override detected in HTC Vive Tracker Profile. Binding path validator for this interaction profile is not as effective. To fix, add GetDeviceLayoutName and GetInteractionProfileType override in this profile. UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad () (at ./Library/PackageCache/com.unity.xr.management@4.4.1/Runtime/XRGeneralSettings.cs:148) Errors: HTC Vive Tracker Extension Not Enabled Failed to create Action 'htcvivetracker/devicepose' with result 'XR_ERROR_PATH_UNSUPPORTED'. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 Could not create a device for 'HTC HTC Vive Tracker OpenXR (XRInputV1)' (exception: System.ArgumentException: Expected control 'devicePose' to be of type 'PoseControl' but is of type 'PoseControl' instead! Parameter name: path at UnityEngine.InputSystem.InputControl.GetChildControl[TControl] (System.String path) [0x00025] in .\Library\PackageCache\com.unity.inputsystem@1.7.0\InputSystem\Controls\InputControl.cs:674 I was able to get the tracker working in Unity with the SteamVR plugin, but I'd vastly prefer using OpenXR.
  4. Is there really no way to use this without a headset? I'm trying to use the Vive Ultimate Tracker has a general purpose 3D tracker as a Windows application. If not I'm going to have to return it.
×
×
  • Create New...