MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Hand input broken in stabilization branch

Open sostel opened this issue 7 years ago • 4 comments

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

  1. I've synced to latest in the prerelease/2.0.0_stabilization branch.
  2. I've moved the HandInteractionExamples.unity to the first place in the BuildSettings to build and test that scene.
  3. Build and deploy to the device.
  4. 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

  1. 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.
  2. Holograms should be interactable using hand input (near and far).

Video

image

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

sostel avatar Aug 08 '19 22:08 sostel

Also interesting, holographic remoting also not working in that branch

wiwei avatar Aug 08 '19 23:08 wiwei

@davidkline-ms and I believe we've figured this out. He'll have a PR incoming.

keveleigh avatar Aug 09 '19 00:08 keveleigh

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

david-c-kline avatar Aug 09 '19 00:08 david-c-kline

fixed in stabilization. merging fix into dev shortly

david-c-kline avatar Aug 09 '19 02:08 david-c-kline