Closed wlewis55 closed 2 years ago
Can you please let me know which Windows version you have on your HoloLens? We're currently investigating a potential issue in certain Windows versions with Xbox controller not coming through properly.
@keveleigh My HL2 is running:
I'm having this issue as well, but I'm running OS Build 20348.1007
Yep, those builds both look solidly in the range where I'd expect this. I'll mark this issue as External
and will follow-up here when a fix ships!
Thanks!
I'm also running into this issue.
@keveleigh Is there a workaround for this issue, or an estimate on when it will be fixed? Or can you provide a specific version of Windows (and/or MRTK) that we should roll back to so that the Xbox controllers will work again?
This should be fixed in Windows 20348.1405 or newer (it should be in one of the Insider Preview rings). You may need to unpair/repair your Xbox controller to your device.
If you instead want to roll back, you can roll back to any 20H2 builds. This issue was only present on 21H1 builds.
A few of my colleagues (@lstearns86) and I have been attempting to get Xbox Controllers working with the newest updates to MRTK in Unity 2020. We have had this working on projects in the past (2.6.1), but unfortunately have had no luck with MRTK 2.7. As per #9931 and the updates found in 2.7.1, the Xbox controller works in the Unity Editor, but not in the HL2 after a build.
To reproduce
Steps to reproduce the behavior:
Note: We have also tried inheriting from the BaseInputHandler instead of the InputSystemGlobalHandlerListener
Expected behavior
The Xbox controller should work the same way as it does in the editor.
Your setup
Target platform
Additional context
I have also made sure that the firmware of my Xbox controller is on its latest version through this application.
My best guess to the solution is that there is a API marked as Legacy in 2.7 that the Xbox Controller needs to work properly.
There is also basically no documentation on the proper or best way to get a Xbox Controller working with a HoloLens other than the fact that the HL2 does support them.