Unity2019.4 packaged application is installed on the HoloLens2 device

Table of contents

MRKT documentation

download

Import into Unity

Open packaging window

Pack


MRKT documentation: Getting Started with the MRTK | Mixed Reality Toolkit Documentation

Among them [ Microsoft.MixedRealityToolkit.Unity.Tools.unitypackage ] packaging tool!

Download address: https://github.com/Microsoft/MixedRealityToolkit-Unity/releases

File and model limitations

The 3D Viewer Beta has hard limits on file size and the number of models, vertices, and meshes that can be open simultaneously:

  • Maximum file size per model is 500 MB
  • Vertices: 600,000 total across all open models
  • Grids: 1,600 total across all open models
  • Up to 40 models can be opened at the same time

Import into Unity

Build Settings

Open the packaging window:

Select: [Build APPX] to package

Installer

First make sure your computer and HoloLens are on the same network

Open the browser and enter the IPv4 address of HoloLens [How to obtain the IPv4 address: Settings - Network and Internet - Hardware Properties]:

If the browser prompts "This site is not secure" or "Your connection is not a private connection", please continue to visit!

You will then be asked to enter the account password: If your device has an account set up but has forgotten it, change the password: Hololens2 web page to connect the device to change password_hololens Get pin_Bo Yan's blog - CSDN blog !

[Tip: This account password may be the same as the account password used for computer screencasting. If you cannot log in, it is recommended to reset the user password, or use the account and password on another machine, maybe on another machine. It cannot be used universally on one machine!

What appears next is this interface

Then you can select the file you just packaged to start the installation.

After the installation is complete, find the program you just installed in the HoloLens application, open it, and start playing!

Guess you like

Origin blog.csdn.net/qq_18427785/article/details/107530302