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.