Reputation: 1015
I am building a HoloLens Unity App using the following tools
Unity Project/Scene Configuration
Target Platform Settings
How I deployed:
Under Target Platform maybe? MRToolkit settings? Platform Settings? UWP Settings?
And also i can't find any documentation on how to do a deployment using the latest MRToolkit v2 TO A HOLOLENS 1 DEVICE. If you can share some links it would be great as well
Thank you in advance.
Upvotes: 4
Views: 1747
Reputation: 1
In addition to HoloLady's answer, to deploy to HoloLens 1 with MRTK v2 you may encounter some additional problems on build.
You need to be using the latest Windows Insider preview on your build PC, with the latest Windows SDK installed (18988 works), although seeing as you managed to build it then maybe you already have this.
You'll likely encounter an error whilst trying to run your app that will involve MixedRealityToolkit.Services.InputSimulation.asmdef. A quick fix for this is to navigate to Assets/MixedRealityToolkit.Services/InputSimulation/ in the Unity project and change the .amsdef file to run on any platform. After this, it should run correctly.
Upvotes: 0
Reputation: 1043
You did miss some configuration! You forgot to enable the XR mode in the player settings. In Edit > Project Settings > Player
The last option is the XR Settings
there you need to set Virtual Reality Supported
to true
and check you have Windows Mixed Reality
as the Virtual Reality SDKs
Upvotes: 5