Using the Build Window with MRTK

Summary

How can I build the HoloLens app more easily?

MRTK provide Build Window that make it easy to build & deploy.

Prerequisites

  • Unity v2020.3.20f1
  • Mixed Reality Toolkit v2.7.2

    • MixedReality.Toolkit.Unity.Foundation.2.7.2
    • MixedReality.Toolkit.Unity.Tools.2.7.2
  • Windows 10 v21H1

Steps

Click Mixed Reality > Toolkit > Utilities > Build Window which will open the following window. If you finished to setup build settings, click Deploy Options.

https://www.hiroakit.com/wp-content/uploads/2021/10/mrtk-build-window_01.png

Click Target Type pull-down menu, then select Remote.

https://www.hiroakit.com/wp-content/uploads/2021/10/mrtk-build-window_02.png

Next, type information which you need to access HoloLens to the following fields:

  • IP Address
  • Username
  • Password
  • Use SSL?
  • Verify SSL Certificates?

    • If you get a warning that is certificate verification page when you access the Windows Device Portal with your web browser, it's probably not to trust the certificate. So, turn off this field.

https://www.hiroakit.com/wp-content/uploads/2021/10/mrtk-build-window_03.png

If you finished to fill, click a plus button. Then, try Test Connection.

If you get Authentication failed! Device Not Found | No Response Headers error, please review entered information.

http://www.hiroakit.com/wp-content/uploads/2021/10/mrtk-build-window_05.png

Finally, click Build all, then Install button. It will deploy AppX to your HoloLens.

https://www.hiroakit.com/wp-content/uploads/2021/10/mrtk-build-window_04.png

Note:

Launch App button You can launch your app built here with the Launch App button.