Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Type `UnityEngine.VR.WSA.Input.GestureRecognizer' does not contain a definition for `Tapped' and no

Hi all,
I am new to developing applications for Hololens and I'm starting from the basics.
Please forgive me for the very basic question!
I am trying to implement the second tutorial from 'Hologram 101E'.

While running the program, I am receiving an error 'Type UnityEngine.VR.WSA.Input.GestureRecognizer' does not contain a definition forTapped' and no extension method Tapped' of typeUnityEngine.VR.WSA.Input.GestureRecognizer' could be found. Are you missing an assembly reference?'

I tried changing recognizer.Tapped to .TappedEvent as suggested on some forums but no result is seen.
Any help would be appreciated. Thank you!


  • stepan_stulovstepan_stulov ✭✭✭
    edited February 2018

    Hey, @Amogh

    All WSA APIs travelled around namespaces a bit over recent Unity releases. GestureRecognizer class is to be found under UnityEngine.XR.WSA.Input namespace now. There is an old, deprecated TappedEvent event with a all the arguments passed separately and the new more .NET-like Tapped event that gets the more conventional EventArgs. I may be mixing the two up.

    Hope this helps.

    Building the future of holographic navigation. We're hiring.

Sign In or Register to comment.