- Home /
Error building hololens app : GestureRecognizer could not be found
Hello,
I'm following the tutorial here (https://developer.microsoft.com/en-us/windows/mixed-reality/holograms_101e) to build a hololens app, but whenever I try and build the project I get the following errors:
Assets\Holograms\Support\Fitbox\Fitbox.cs(43,26): error CS0246: The type or namespace name 'GestureRecognizer' could not be found (are you missing a using directive or an assembly reference?)
Error building Player because scripts had compiler errors
UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options)
[0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions
defaultBuildOptions) [0x00050] in
C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83
UnityEditor.HostView:OnGUI()
I'm using Unity 2017.1. Any possible solutions? I've tried seeing why it can't find the namespace but can't find a solution yet. Any help will be really appreciated.
Thanks,
Andrew Solis
Answer by xwyin · Sep 07, 2017 at 05:19 PM
i'm having the same issue...
There seemed to be an issue with different Unity versions throwing similar errors. The post here explains it a bit more in detail: https://github.com/$$anonymous$$icrosoft/$$anonymous$$ixedRealityToolkit-Unity/issues/860
I downloaded the 2017.1.0p5 version and it fixed my problem. I would recommend downloading the appropriate unity version with the right path and see if that resolves your issue.
The post seems to be removed so I'm not able to open the link you sent
$$anonymous$$y apologies, there was a trailing period at the end of the link that made it inaccessible. Try it now.
Answer by andrewsolis · Sep 07, 2017 at 05:34 PM
I followed the post here and downloading the correct Unity version seemed to resolve my issue:
https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/860
Your answer
![](https://koobas.hobune.stream/wayback/20220612133939im_/https://answers.unity.com/themes/thub/images/avi.jpg)