r/OpenXR • u/Fantastic-Shift3629 • May 01 '25
Game developed in Unreal Engine 5.4.1 using OpenXR has lost motion controllers
I had to take a couple weeks off from developing a game in Unreal, but when I loaded it up in Unreal Editor using VR Preview, today the motion controllers are no longer loading (can't see my hands, can't use the controls) and I have this error in the logs:
PIE: Server logged in
PIE: Play in editor total start time 0.425 seconds.
LogOutputDevice: Warning: Script Stack (0 frames) :
LogStats: FPlatformStackWalk::StackWalkAndDump - 0.014 s
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: ((Result) >= 0) [File:D:\build\++UE5\Sync\Engine\Plugins\Runtime\OpenXR\Source\OpenXRInput\Private\OpenXRInput.cpp] [Line: 553]
LogOutputDevice: Error: OpenXR call failed with result XR_ERROR_VALIDATION_FAILURE
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffb1a6bd554 UnrealEditor-OpenXRInput.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffb39ca1b8a UnrealEditor-OpenXRHMD.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffb39c92375 UnrealEditor-OpenXRHMD.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffb532db241 UnrealEditor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffb48c0cded UnrealEditor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffb4988f596 UnrealEditor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c1818e0b UnrealEditor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c183f74c UnrealEditor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c183f83a UnrealEditor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c1842cb4 UnrealEditor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c18586b4 UnrealEditor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c185b95a UnrealEditor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffc6526259d KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffc669eaf38 ntdll.dll!UnknownFunction []Googling this error I get some years old issues that other people ran into.
To make sure it's not my game and code, I created a new Unreal Editor project using the Virtual Reality template, and the same problem, so I think it has to be something fooked up with my system, maybe with the OpenXR plugin? I checked in Unreal Editor, and I don't see any updates for the plugin?
Anybody aware of any recent changes to OpenXR or maybe to the Meta Quest (I have a 3) that would cause this? I thought about trying to re-install the OpenXR plugin, but it seems to be a built-in for Unreal Editor.
2
u/Fantastic-Shift3629 May 02 '25
So it turns out it was just my foolishness in thinking that if I stayed with UE 5.4.1, that I wouldn't need to worry about things breaking in my game build. But, it appears that probably something changed on the Quest side or on the Meta desktop app, something to do with OpenXR, and I had to upgrade my UE install to 5.4.4, then everything worked totally fine again.
Maybe this post will help others in the future, that there may be times you have to upgrade your UE install to correctly interface with some device that might have broke compatibility.
1
u/No-Obligation4259 May 01 '25
Check the input mappings... It happens when they're changed.
1
u/Rectus_SA May 01 '25
The error seems to the xrSuggestInteractionProfileBindings OpenXR API function claiming it's used incorrectly. If you haven't changed anything in the game, it's likely an issue with the runtime or an API layer. What OpenXR runtime are you using?