2
votes

I am currently working on developing an application for the Hololens 1 using Unity and MRTK. I have been unable to get the air tap or any other input working in my application. The ring pointer for airtap does not appear in the application even though it works in the Unity Play Mode Input Simulation and other applications on the device. I tried it with the MRTK examples and even those did not work on the device.

Also I had to add the Tracked Pose Driver from the Player Settings to get the camera working properly but have not figured out how to get the application to accept gesture input.

Also tried the solution listed here: Why is 'air tap' gesture not working on HoloLens1 in my Unity/MRTK app? but that did not work. Will appreciate any guidance to solve this problem.

1
What version of Unity and MRTK are you using? Could you follow this step-by-step guidance to troubleshoot your Unity Project Settings: docs.microsoft.com/en-us/windows/mixed-reality/… . Or download the latest MRTK2.3 and Unity2018.4.22LTS and create another new unity project and get started with this document: microsoft.github.io/MixedRealityToolkit-Unity/Documentation/…Hernando - MSFT
I was initially using MRTK 2.3 and Unity 2019.31f. I managed to get some success in working with XR SDK according to the solution suggested to me here github.com/microsoft/MixedRealityToolkit-Unity/issues/7850 . But it did not work with my main project and a second sample project I created (I never got the same options with the same settings). So finally I had to switch to Unity 2018 and that has worked well so far but the only issue is that it only accepts input from the left hand and not the right hand. Could you help with that. Thank you.Ikun
The right hand and left hand pointer issues seem to be due to the environment as they work sometimes.Ikun
When you making any gestures on HoloLens, you need to keep his hands within the "Gesture Frame", in a range that the gesture-sensing cameras can see appropriately. We highly recommend that running Calibration each time a different person uses the device(please navigate to Setting->Utilities->Calibration). More information please see: docs.microsoft.com/en-us/windows/mixed-reality/…Hernando - MSFT

1 Answers

1
votes

I finally got my project working after a lot of trying.

It turned out that initially, I had unknowingly configured the project to use XR SDK in Unity 2019 and thus had to configure MRTK accordingly. Thank you to Kevleigh for helping me with the issue here: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/7850

While this did work for my example project, I couldn't get the main project to work with the same settings even after installing all the plugins.

Finally, I had to switch to Unity 2018 and I got the project working with MRTK 2.3 and the default configuration. So, while Unity 2019 did not work for me you can get it working with XR SDK as suggested in the above link.