Index Controllers no longer tracked in OpenXR

,

As of updating SteamVR to version 1.21.8 I have lost all tracking of my controllers, the HMD still tracks correctly. I tried launching a previous build of the unity project and it also seems to have the same issue. If I launch just the Steam VR Home the controllers show up and track without issue.

1 Like

Any Updates on this ? I also have this issue.

1 Like

HI Can you share a SteamVR System report after replicating the issue on your end? (Hamburger icon > “Create System Report”)

Any chance the hmd is idle or not worn during controller testing? In 1.21.11 you can disable this behavior from SteamVR Settings > Video > “Pause VR When headset is idle”

I just began experiencing the same problem:

I started up my Unity project this morning and the Index controllers cannot be found by the input system.

I’ve tried it on 2021.2.19 and 2021.3 and neither work. I’ve tried it using SteamVR 1.21.11 and 1.22.6 and neither work. Something has changed overnight it seems.

It’s not my code, The Unity Input Debugger console verifies that the controllers are not being detected by the engine. So something between OpenXR, the Input System, and SteamVR must have broken, but I can’t figure out what it is.

Attached is a system diagnostic report.

Here’s the OpenXR diagnostic report from the editor:

==== Start Unity OpenXR Diagnostic Report ====

[XR] [9672] [14:58:05.455][Info ] ==== Report Reason: System Shutdown ====

[XR] [9672] [14:58:05.455][Info ] ==== OpenXR Init Info ====
[XR] [9672] [14:58:05.455][Info ]
[XR] [9672] [14:58:05.455][Info ] Stage 1 Missing Entry Points: (1)
[XR] [9672] [14:58:05.455][Info ] xrInitializeLoaderKHR
[XR] [9672] [14:58:05.455][Info ]
[XR] [9672] [14:58:05.455][Info ] Stage 2 Missing Entry Points: (9)
[XR] [9672] [14:58:05.455][Info ] xrGetD3D12GraphicsRequirementsKHR
[XR] [9672] [14:58:05.455][Info ] xrGetVulkanInstanceExtensionsKHR
[XR] [9672] [14:58:05.455][Info ] xrGetVulkanDeviceExtensionsKHR
[XR] [9672] [14:58:05.455][Info ] xrGetVulkanGraphicsDeviceKHR
[XR] [9672] [14:58:05.455][Info ] xrGetVulkanGraphicsRequirementsKHR
[XR] [9672] [14:58:05.455][Info ] xrCreateVulkanInstanceKHR
[XR] [9672] [14:58:05.455][Info ] xrCreateVulkanDeviceKHR
[XR] [9672] [14:58:05.455][Info ] xrGetVulkanGraphicsDevice2KHR
[XR] [9672] [14:58:05.455][Info ] xrGetVulkanGraphicsRequirements2KHR
[XR] [9672] [14:58:05.455][Info ]
[XR] [9672] [14:58:05.455][Info ] ==== OpenXR Provider Info ====
[XR] [9672] [14:58:05.455][Info ]
[XR] [9672] [14:58:05.455][Info ] Spec Version: 1.0.17
[XR] [9672] [14:58:05.455][Info ] Provider Version: 1.3.1
[XR] [9672] [14:58:05.455][Info ] App: ArcSine #2420804504
[XR] [9672] [14:58:05.455][Info ] Engine: 2021.3.0f1 #36701185
[XR] [9672] [14:58:05.455][Info ]
[XR] [9672] [14:58:05.455][Info ] ==== OpenXR Runtime Info ====
[XR] [9672] [14:58:05.455][Info ]
[XR] [9672] [14:58:05.455][Info ] Features requested to be enabled: (5)
[XR] [9672] [14:58:05.455][Info ] HTC Vive Controller Profile: Version=0.0.1, Company=“Unity”
[XR] [9672] [14:58:05.455][Info ] Khronos Simple Controller Profile: Version=0.0.1, Company=“Unity”
[XR] [9672] [14:58:05.455][Info ] Oculus Touch Controller Profile: Version=0.0.1, Company=“Unity”
[XR] [9672] [14:58:05.455][Info ] Runtime Debugger: Version=1, Company=“Unity”
[XR] [9672] [14:58:05.455][Info ] Valve Index Controller Profile: Version=0.0.1, Company=“Unity”
[XR] [9672] [14:58:05.455][Info ]
[XR] [9672] [14:58:05.456][Info ] Requested feature extensions not supported by runtime: (0)
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Available Runtime Extensions: (21)
[XR] [9672] [14:58:05.456][Info ] XR_KHR_vulkan_enable: Version=8
[XR] [9672] [14:58:05.456][Info ] XR_KHR_vulkan_enable2: Version=2
[XR] [9672] [14:58:05.456][Info ] XR_KHR_D3D11_enable: Version=8
[XR] [9672] [14:58:05.456][Info ] XR_KHR_D3D12_enable: Version=8
[XR] [9672] [14:58:05.456][Info ] XR_KHR_opengl_enable: Version=10
[XR] [9672] [14:58:05.456][Info ] XR_KHR_win32_convert_performance_counter_time: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_EXT_win32_appcontainer_compatible: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_KHR_visibility_mask: Version=2
[XR] [9672] [14:58:05.456][Info ] XR_KHR_binding_modification: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_KHR_composition_layer_depth: Version=5
[XR] [9672] [14:58:05.456][Info ] XR_EXT_frame_composition_report: Version=4
[XR] [9672] [14:58:05.456][Info ] XR_EXT_hand_tracking: Version=4
[XR] [9672] [14:58:05.456][Info ] XR_EXT_hand_joints_motion_range: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_EXT_hp_mixed_reality_controller: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_HTC_vive_cosmos_controller_interaction: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_HTCX_vive_tracker_interaction: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_UNITY_hand_model_pose: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_VALVE_analog_threshold: Version=2
[XR] [9672] [14:58:05.456][Info ] XR_EXT_dpad_binding: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_FB_display_refresh_rate: Version=1
[XR] [9672] [14:58:05.456][Info ] XR_EXT_debug_utils: Version=4
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Available Layers: (0)
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Runtime Name: SteamVR/OpenXR
[XR] [9672] [14:58:05.456][Info ] Runtime Version: 0.1.0
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Form factor: XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Runtime extensions enabled: (4)
[XR] [9672] [14:58:05.456][Info ] XR_KHR_D3D11_enable: Version=8
[XR] [9672] [14:58:05.456][Info ] XR_KHR_composition_layer_depth: Version=5
[XR] [9672] [14:58:05.456][Info ] XR_KHR_visibility_mask: Version=2
[XR] [9672] [14:58:05.456][Info ] XR_KHR_win32_convert_performance_counter_time: Version=1
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Available Reference Spaces: (3)
[XR] [9672] [14:58:05.456][Info ] XR_REFERENCE_SPACE_TYPE_VIEW
[XR] [9672] [14:58:05.456][Info ] XR_REFERENCE_SPACE_TYPE_LOCAL
[XR] [9672] [14:58:05.456][Info ] XR_REFERENCE_SPACE_TYPE_STAGE
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Instance Id : 0x2d563080
[XR] [9672] [14:58:05.456][Info ] System Id : 0xbc
[XR] [9672] [14:58:05.456][Info ] Session Id : 0xdd3c0f20
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Available View Configuration Types: (1)
[XR] [9672] [14:58:05.456][Info ] XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO (Selected): FovMutable=True
[XR] [9672] [14:58:05.456][Info ] [0]: Recommended: Width=1912, Height=2124, SampleCount=1
[XR] [9672] [14:58:05.456][Info ] [0]: Maximum: Width=1912, Height=2124, SampleCount=1
[XR] [9672] [14:58:05.456][Info ] [1]: Recommended: Width=1912, Height=2124, SampleCount=1
[XR] [9672] [14:58:05.456][Info ] [1]: Maximum: Width=1912, Height=2124, SampleCount=1
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Skip Present To Main Screen: No
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Available Environment Blend Modes: (1)
[XR] [9672] [14:58:05.456][Info ] XR_ENVIRONMENT_BLEND_MODE_OPAQUE (Selected)
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] System Properties: Name=“SteamVR/OpenXR : lighthouse”, VendorId=10462
[XR] [9672] [14:58:05.456][Info ] System Graphics Properties: MaxWidth=1888, MaxHeight=2100, MaxLayers=16
[XR] [9672] [14:58:05.456][Info ] System Tracking Properties: OrientationTracking=True, PositionTracking=True
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] ==== OpenXR Input ====
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Action Sets (4):
[XR] [9672] [14:58:05.456][Info ] htcvivecontroller: ActionCount=12
[XR] [9672] [14:58:05.456][Info ] khrsimplecontroller: ActionCount=5
[XR] [9672] [14:58:05.456][Info ] oculustouchcontroller: ActionCount=16
[XR] [9672] [14:58:05.456][Info ] valveindexcontroller: ActionCount=21
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] ==== OpenXR Swapchain Details ====
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Render Mode: Single Pass Instanced
[XR] [9672] [14:58:05.456][Info ] Depth Submission Mode: None
[XR] [9672] [14:58:05.456][Info ]
[XR] [9672] [14:58:05.456][Info ] Swapchain Formats:

 91 2 10 24 40 55 45 20
[XR] [9672] [14:58:05.457][Info   ] Swapchain Views: (2)
[XR] [9672] [14:58:05.457][Info   ]   [0]: Width=1912, Height=2124, SampleCount=1
[XR] [9672] [14:58:05.457][Info   ]
[XR] [9672] [14:58:05.457][Info   ] ==== Last 20 non-XR_SUCCESS returns ====
[XR] [9672] [14:58:05.457][Info   ] [SUCCESS] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE (3x)
[XR] [9672] [14:58:05.457][Info   ]
[XR] [9672] [14:58:05.457][Info   ] ==== Last 20 Events ====
[XR] [9672] [14:58:05.457][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE
[XR] [9672] [14:58:05.457][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY
[XR] [9672] [14:58:05.457][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED
[XR] [9672] [14:58:05.457][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING
[XR] [9672] [14:58:05.457][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE
[XR] [9672] [14:58:05.457][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_EXITING
[XR] [9672] [14:58:05.457][Info   ]

==== End Unity OpenXR Diagnostic Report ====

8048582–1038719–SteamVR-2022-04-14-PM_03_02_20.txt (3.17 MB)

There seems to be some invalid bindings being sent - can you check if you’re in the latest Unity OpenXR Plugin?

Also, can you try the Untiy provided Controller Test Scene and see if that shows the same behaviour on your end?

Hey, thanks for reaching out.

I’m using the current OpenXR version ( 1.3.1 )

I also verified: The VR Sample Project from Unity does not work either.

I am having the same issues for a week at least. I have been trying to mess with the input actions with no success, using OpenXR 1.3.1 and Unity 2021.3.0f1.

1 Like

Did you make any changes to your project that coincide with the onset of the problem? Update from 2021.2 => 2021.3, etc? Just curious…

Edit: Also…I’m curious if the controllers are even detected by Unity in your project.
Window => Analysis => Input Debugger. Go into play mode and check to see if the controllers are
detected by the engine.

I created a project from scratch.

I also checked the Input Debugger after going into play mode and indeed the controllers are not detected.

But if I put my finger on top of the Index HMD IR sensor to trick the HMD to think it is being used, then the controllers appear and are tracked correctly. Following @runeberg-valve 's suggestion of disabling “Pause VR When headset is idle” did not make any difference since the controllers only appear when the headset thinks it’s on your head…

2 Likes

Thanks for that, yes this is a known issue/behaviour (proximity on first run) and there’s a current fix under testing at the moment - Hope to get it out in the next Beta.

2 Likes

hey,
is this issue been resolved?

For the proximity issue, fix is now out in Beta:

1 Like

@runeberg-valve Are you in on the OpenXR Plugin authoring loop?
I’m curious when the next version will come out.

Thanks for 1.22.7!

@runeberg-valve This issue is still not resolved. Every month or so, OpenXR just stops detecting the controllers, even if you put your finger over the IR sensor.

==== Start Unity OpenXR Diagnostic Report ====

[XR] [21684] [18:50:28.415][Info ] ==== Report Reason: System Shutdown ====

[XR] [21684] [18:50:28.415][Info ] ==== OpenXR Init Info ====
[XR] [21684] [18:50:28.415][Info ]
[XR] [21684] [18:50:28.415][Info ] Stage 1 Missing Entry Points: (1)
[XR] [21684] [18:50:28.415][Info ] xrInitializeLoaderKHR
[XR] [21684] [18:50:28.415][Info ]
[XR] [21684] [18:50:28.415][Info ] Stage 2 Missing Entry Points: (9)
[XR] [21684] [18:50:28.415][Info ] xrGetD3D12GraphicsRequirementsKHR
[XR] [21684] [18:50:28.415][Info ] xrGetVulkanInstanceExtensionsKHR
[XR] [21684] [18:50:28.415][Info ] xrGetVulkanDeviceExtensionsKHR
[XR] [21684] [18:50:28.415][Info ] xrGetVulkanGraphicsDeviceKHR
[XR] [21684] [18:50:28.415][Info ] xrGetVulkanGraphicsRequirementsKHR
[XR] [21684] [18:50:28.415][Info ] xrCreateVulkanInstanceKHR
[XR] [21684] [18:50:28.415][Info ] xrCreateVulkanDeviceKHR
[XR] [21684] [18:50:28.415][Info ] xrGetVulkanGraphicsDevice2KHR
[XR] [21684] [18:50:28.415][Info ] xrGetVulkanGraphicsRequirements2KHR
[XR] [21684] [18:50:28.415][Info ]
[XR] [21684] [18:50:28.415][Info ] ==== OpenXR Provider Info ====
[XR] [21684] [18:50:28.415][Info ]
[XR] [21684] [18:50:28.415][Info ] Spec Version: 1.0.20
[XR] [21684] [18:50:28.415][Info ] Provider Version: 1.4.2
[XR] [21684] [18:50:28.415][Info ] App: ArcSine #1351365729
[XR] [21684] [18:50:28.415][Info ] Engine: 2021.3.4f1 #36717569
[XR] [21684] [18:50:28.415][Info ]
[XR] [21684] [18:50:28.415][Info ] ==== OpenXR Runtime Info ====
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Features requested to be enabled: (4)
[XR] [21684] [18:50:28.416][Info ] HTC Vive Controller Profile: Version=0.0.1, Company=“Unity”
[XR] [21684] [18:50:28.416][Info ] Khronos Simple Controller Profile: Version=0.0.1, Company=“Unity”
[XR] [21684] [18:50:28.416][Info ] Oculus Touch Controller Profile: Version=0.0.1, Company=“Unity”
[XR] [21684] [18:50:28.416][Info ] Valve Index Controller Profile: Version=0.0.1, Company=“Unity”
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Requested feature extensions not supported by runtime: (0)
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Available Runtime Extensions: (21)
[XR] [21684] [18:50:28.416][Info ] XR_KHR_vulkan_enable: Version=8
[XR] [21684] [18:50:28.416][Info ] XR_KHR_vulkan_enable2: Version=2
[XR] [21684] [18:50:28.416][Info ] XR_KHR_D3D11_enable: Version=8
[XR] [21684] [18:50:28.416][Info ] XR_KHR_D3D12_enable: Version=8
[XR] [21684] [18:50:28.416][Info ] XR_KHR_opengl_enable: Version=10
[XR] [21684] [18:50:28.416][Info ] XR_KHR_win32_convert_performance_counter_time: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_EXT_win32_appcontainer_compatible: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_KHR_visibility_mask: Version=2
[XR] [21684] [18:50:28.416][Info ] XR_KHR_binding_modification: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_KHR_composition_layer_depth: Version=5
[XR] [21684] [18:50:28.416][Info ] XR_EXT_frame_composition_report: Version=4
[XR] [21684] [18:50:28.416][Info ] XR_EXT_hand_tracking: Version=4
[XR] [21684] [18:50:28.416][Info ] XR_EXT_hand_joints_motion_range: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_EXT_hp_mixed_reality_controller: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_HTC_vive_cosmos_controller_interaction: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_HTCX_vive_tracker_interaction: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_UNITY_hand_model_pose: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_VALVE_analog_threshold: Version=2
[XR] [21684] [18:50:28.416][Info ] XR_EXT_dpad_binding: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_FB_display_refresh_rate: Version=1
[XR] [21684] [18:50:28.416][Info ] XR_EXT_debug_utils: Version=4
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Available Layers: (0)
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Runtime Name: SteamVR/OpenXR
[XR] [21684] [18:50:28.416][Info ] Runtime Version: 0.1.0
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Form factor: XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Runtime extensions enabled: (4)
[XR] [21684] [18:50:28.416][Info ] XR_KHR_D3D11_enable: Version=8
[XR] [21684] [18:50:28.416][Info ] XR_KHR_composition_layer_depth: Version=5
[XR] [21684] [18:50:28.416][Info ] XR_KHR_visibility_mask: Version=2
[XR] [21684] [18:50:28.416][Info ] XR_KHR_win32_convert_performance_counter_time: Version=1
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Available Reference Spaces: (3)
[XR] [21684] [18:50:28.416][Info ] XR_REFERENCE_SPACE_TYPE_VIEW
[XR] [21684] [18:50:28.416][Info ] XR_REFERENCE_SPACE_TYPE_LOCAL
[XR] [21684] [18:50:28.416][Info ] XR_REFERENCE_SPACE_TYPE_STAGE
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Instance Id : 0xd51e8fd0
[XR] [21684] [18:50:28.416][Info ] System Id : 0x131
[XR] [21684] [18:50:28.416][Info ] Session Id : 0x9869f6d0
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Available View Configuration Types: (1)
[XR] [21684] [18:50:28.416][Info ] XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO (Selected): FovMutable=True
[XR] [21684] [18:50:28.416][Info ] [0]: Recommended: Width=1584, Height=1764, SampleCount=1
[XR] [21684] [18:50:28.416][Info ] [0]: Maximum: Width=1584, Height=1764, SampleCount=1
[XR] [21684] [18:50:28.416][Info ] [1]: Recommended: Width=1584, Height=1764, SampleCount=1
[XR] [21684] [18:50:28.416][Info ] [1]: Maximum: Width=1584, Height=1764, SampleCount=1
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Skip Present To Main Screen: No
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Available Environment Blend Modes: (1)
[XR] [21684] [18:50:28.416][Info ] XR_ENVIRONMENT_BLEND_MODE_OPAQUE (Selected)
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] System Properties: Name=“SteamVR/OpenXR : lighthouse”, VendorId=10462
[XR] [21684] [18:50:28.416][Info ] System Graphics Properties: MaxWidth=1584, MaxHeight=1764, MaxLayers=16
[XR] [21684] [18:50:28.416][Info ] System Tracking Properties: OrientationTracking=True, PositionTracking=True
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] ==== OpenXR Input ====
[XR] [21684] [18:50:28.416][Info ]
[XR] [21684] [18:50:28.416][Info ] Action Sets (4):
[XR] [21684] [18:50:28.416][Info ] htcvivecontroller: ActionCount=12
[XR] [21684] [18:50:28.417][Info ] khrsimplecontroller: ActionCount=5
[XR] [21684] [18:50:28.417][Info ] oculustouchcontroller: ActionCount=16
[XR] [21684] [18:50:28.417][Info ] valveindexcontroller: ActionCount=21
[XR] [21684] [18:50:28.417][Info ]
[XR] [21684] [18:50:28.417][Info ]
[XR] [21684] [18:50:28.417][Info ] ==== OpenXR Swapchain Details ====
[XR] [21684] [18:50:28.417][Info ]
[XR] [21684] [18:50:28.417][Info ] Render Mode: Single Pass Instanced
[XR] [21684] [18:50:28.417][Info ] Depth Submission Mode: None
[XR] [21684] [18:50:28.417][Info ]
[XR] [21684] [18:50:28.417][Info ] Swapchain Formats:

 91 2 10 24 40 55 45 20
[XR] [21684] [18:50:28.417][Info   ] Swapchain Views: (2)
[XR] [21684] [18:50:28.417][Info   ]   [0]: Width=1584, Height=1764, SampleCount=1
[XR] [21684] [18:50:28.417][Info   ]
[XR] [21684] [18:50:28.417][Info   ] ==== Last 20 non-XR_SUCCESS returns ====
[XR] [21684] [18:50:28.417][Info   ] [SUCCESS] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE (2x)
[XR] [21684] [18:50:28.417][Info   ] [FAILURE] xrLocateSpace: XR_ERROR_TIME_INVALID (2x)
[XR] [21684] [18:50:28.417][Info   ]
[XR] [21684] [18:50:28.417][Info   ] ==== Last 20 Events ====
[XR] [21684] [18:50:28.417][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE
[XR] [21684] [18:50:28.417][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY
[XR] [21684] [18:50:28.417][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED
[XR] [21684] [18:50:28.417][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE
[XR] [21684] [18:50:28.417][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_SYNCHRONIZED
[XR] [21684] [18:50:28.417][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING
[XR] [21684] [18:50:28.417][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE
[XR] [21684] [18:50:28.417][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_EXITING
[XR] [21684] [18:50:28.417][Info   ]

==== End Unity OpenXR Diagnostic Report ====

I’ve discovered that the bug goes away when building out the game and playing it. If you go back into the editor after that, the controllers work normally (until the problem eventually crops up again).

Just had this start happening out of the blue after working in 2021.3 daily for 6 months
(OpenXR plugin 1.3.1). I don’t appear to have had a SteamVR update in a month or so (on 1.22.13). Index + controllers, headset was still tracking fine, but controllers wouldn’t work at all in Unity. They are not detected in the Input Debugger. They are working fine in Steam. They don’t work in builds of my application.

Occurs first thing in the morning until I reboot. Then controllers are fine all day. Computer is left on overnight with SteamVR closed - because if I leave steam VR open my monitors don’t sleep.

Test from the last couple of days…
Killing SteamVR and all Unity instances and restarting them is not enough. The computer had to be restarted.
Turning off “Pause VR when headset Idle” in SteamVR this morning fixed it without a reboot. Whether that will prevent it happening again remains to be seen.

Unfortunately I didn’t take a screenshot of it, but when I was looking at the Input Debugger this morning when the controllers weren’t working there were many duplicate Valve IMU (HID) and Valve Optical (HID) devices listed in the unsupported devices section. (roughly 20 of each).

Now that it is working again there is one of each of those in the unsupported list, but the controllers are detected again correctly alongside the headset.

Yeah still happens to me from time to time. I haven’t been able to track down the cause…it’s too deep in the weeds of the backend. It’s a shame it’s so difficult to reproduce.

I have a similar issue, where some of my players only have headset tracking, but no controller tracking when launching the game. They all seem to be using a Valve Index. Sadly, I’m not able to replicate the issue on my Index, because everything is tracking as expected.

There also seems to be a related issue being discussed on the Steam Forums: Knuckles sometimes not tracking in SteamVR OpenXR. Reboot fixes. :: SteamVR OpenXR

However, restarting does not work for my players.

I am developing a UnityXR OpenXR game with the new input system. I have an interaction profile for Index controllers as I am testing with them, but no other profiles, as recommended in the Unity docs: Input in Unity OpenXR | OpenXR Plugin | 1.1.1

I am using a Vive HMD with the Index controllers and everything works.

My friend tested it with me yesterday in multiplayer with Rift S and we made some observations:

  • He had no controller tracking
  • No controller input
  • Finger curls were still accessible using the OpenXR Hands plugin
  • He DID have HMD tracking.

It looked similar to the issue with OpenXR where the headset must be on the head before controller tracking and input will work, however his controllers were working outside of my game and the HMD was being worn.

Seems to be the same issue. I don’t have a Rift S to test with, but I do have Vive Wands and will report back after I’ve tested those.

It seems the Unity docs are incorrect regarding their advice to add interaction profiles only for controllers you are testing with.

When I tried to play with my Wands, they had the same issue - no tracking, no input. I added the HTC Vive Controller interaction profile and they worked immediately.

In summary, it appears we should include all available interaction profiles in our games.

1 Like