Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. 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.