MixedRealityToolkit-Unity
MixedRealityToolkit-Unity copied to clipboard
Hand input broken in stabilization branch
Describe the bug
Hand tracking is not working. Hand rays are not shown. I can't poke or grab holograms. I can't use air-tap.
To reproduce
- I've synced to latest in the prerelease/2.0.0_stabilization branch.
- I've moved the HandInteractionExamples.unity to the first place in the BuildSettings to build and test that scene.
- Build and deploy to the device.
- No hand input is registered. I do see an little opaque gaze cursor that is following my eye gaze.
I did not change the MRTK config profile. When checking it's set to 'DefaultHoloLens2ConfigurationProfile'.
Expected behavior
- The gaze cursor should not follow my eye gaze. If that's desired, let's replace the visuals as the distinct opaque circle is not recommended.
- Holograms should be interactable using hand input (near and far).
Video

Your Setup (please complete the following information)
- Unity 2018.4.0f1
- MRTK Version: prerelease/2.0.0_stabilization
Target Platform (please complete the following information)
- HoloLens 2
Also interesting, holographic remoting also not working in that branch
@davidkline-ms and I believe we've figured this out. He'll have a PR incoming.
This looks to have been a regression introduced by the recent data provider changes. The root causes were:
- Enable in the new base class was calling Reset on the data providers instead of Enable
- The Input and Spatial AwarenessSystems were either
- Not calling base.Enable / base.Disable
- Calling them at the wrong time.
PR coming soon
fixed in stabilization. merging fix into dev shortly