Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I build the MixedRealityToolkit-Unity sample project, I faced the following error #3967

Closed
tamizhuser opened this issue Apr 13, 2019 · 16 comments

Comments

@tamizhuser
Copy link

Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(418,73): error CS0246: The type or namespace name 'HandJointKind' could not be found (are you missing a using directive or an assembly reference?)

Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(111,17): error CS0246: The type or namespace name 'HandMeshObserver' could not be found (are you missing a using directive or an assembly reference?)

Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(382,33): error CS0246: The type or namespace name 'HandJointKind' could not be found (are you missing a using directive or an assembly reference?)

Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(412,26): error CS0246: The type or namespace name 'JointPose' could not be found (are you missing a using directive or an assembly reference?)

@genereddick
Copy link

genereddick commented Apr 13, 2019

See @keveleigh's comment on #3844. Looks like you need to make sure you are on Windows 18362.

@Cris21395
Copy link

Hi @keveleigh

For Hololens 1, is it needed to be on Windows 18362?

@genereddick
Copy link

@Cris21395 I think it is a requirement for MRTK v2 -- at least as of the RC1 when they merged the code in for the HL2 -- so it impacts HoloLens 1 as well. I had the same issue and it was resolved by updating the Windows version.

But @keveleigh can weigh in if otherwise.

@Cris21395
Copy link

Thanks a lot @genereddick for your prompt reply. I thought that updating the windows version could resolve my problem, but I wanted to be sure before doing it.

@tamizhuser
Copy link
Author

Hi @keveleigh

For Hololens 1, is it needed to be on Windows 18362?
Thankyou @keveleigh

@tamizhuser
Copy link
Author

@Cris21395 I think it is a requirement for MRTK v2 -- at least as of the RC1 when they merged the code in for the HL2 -- so it impacts HoloLens 1 as well. I had the same issue and it was resolved by updating the Windows version.

But @keveleigh can weigh in if otherwise.

Thank you @genereddick

@Avalin
Copy link

Avalin commented Apr 15, 2019

Same problem here on HoloLens 1 still, despite running on Windows 18362.30

@david-c-kline
Copy link

@genereddick is correct, the 18362 SDK is a compile time requirement for MRTK v2. This is necessary to enable support for HoloLens 2 features.

At runtime, the applications will run on HoloLens 1 without need for a new operating system.

@tamizhuser
Copy link
Author

See @keveleigh's comment on #3844. Looks like you need to make sure you are on Windows 18362.

Now, I am udate window 18875 but not solve the problem

@Ariel-Feldman
Copy link

So, installing the 18362 SDK using the insider program do make the build success. the problem now is that that the Hololns1 don't have this SDK version, an apparently can't download or install it.
Does anyone know what is the trick here?
we need to build using 18362 SDK and that's fine, but does the Hololens1 also need to have it install on it OS? if yes, how can we install it?

@david-c-kline
Copy link

@Ariel-Feldman, you should not need 18362 on the HoloLens 1. When you run your application, MRTK will ask Windows 10 if an API (ex: eye tracking) is supported on your version of Windows 10. If not, the API will not be called.

If you have any trouble or questions, please do not hesitate to ask on stack overflow (tag: mrtk).

@Ariel-Feldman
Copy link

the solutions in here, straight from the queen, mother of dragons and breaker of chains...of Hololens2 []-) Julia Schwarz
https://stackoverflow.com/a/55626479/10104036

@evilsly
Copy link

evilsly commented Jan 13, 2022

Assets\MRTK\Providers\WindowsMixedReality\Shared\WindowsMixedRealityArticulatedHandDefinition.cs(26,17): error CS0246: The type or namespace name 'HandMeshObserver' could not be found (are you missing a using directive or an assembly reference?)
Assets\MRTK\Providers\WindowsMixedReality\Shared\WindowsMixedRealityArticulatedHandDefinition.cs(29,17): error CS0246: The type or namespace name 'HandMeshVertex' could not be found (are you missing a using directive or an assembly reference?)
Build completed with a result of 'Failed' in 6 seconds (5770 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in :0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
3 Error in Unity2019.4.13 Build

@keveleigh
Copy link
Contributor

Which SDK are you trying to build with in the Unity build settings? That looks like an issue with a too-old version. You'll want to use 18362 or higher.

@Manurocker95
Copy link

Manurocker95 commented Jan 17, 2022

I got same issue with my hololense 2 (updated) and latest W11 update. Any idea?

I'm using 2020.3.26LTS with latest packages from MRTK Tools

@haibo839455603
Copy link

An error occurred while resolving packages:
Project has invalid dependencies:
com.atteneder.gltfast: Error when executing git command. fatal: unable to access 'https://github.com/atteneder/glTFast.git/': Failed to connect to github.com port 443 after 21097 ms: Couldn't connect to server

com.atteneder.ktx: Error when executing git command. fatal: unable to access 'https://github.com/atteneder/KtxUnity.git/': Failed to connect to github.com port 443 after 21110 ms: Couldn't connect to server

com.microsoft.mixedreality.visualprofiler: Error when executing git command. fatal: unable to access 'https://github.com/microsoft/VisualProfiler-Unity.git/': Failed to connect to github.com port 443 after 21092 ms: Couldn't connect to server

org.mixedrealitytoolkit.data: The file [E:\Unity\org.mixedrealitytoolkit.data\package.json] cannot be found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants