Search code examples
unity-game-enginevisual-studio-2017hololensmrtk

Facing Issue When I build the MixedRealityToolkit-Unity (V2) sample project


I am facing issue when I build the MixedRealityToolkit-Unity(V2) sample project,I faced the following error :

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?)

I am running on Windows 10 Insider preview with OS build : 18362.30 Version : 1903

Also I double checked with build setting Minimum SDK is 10.0.10240.0 Target SDK version is “Latest installed”

I am using mrtk_development branch for the MixedRealityToolkit-Unity.

Can any one help me or guide me if I am missing any steps here for the set-up.

Thanks.


Solution

  • Finally I am able to build MRTK-V2 into HoloLens :-) Just give it a try by adding Windows SDK 18362+ which is mention on Toolkit home page. I thought I am running under insider build 18362.30 so I don't need to install this SDK, But seem like it is required anyway.