title | description | author | ms.author | ms.date | ms.topic | ms.localizationpriority | keywords |
---|---|---|---|---|---|---|---|
Welcome to the Mixed Reality Feature Tool |
Learn the basics of the MR Feature Tool for HoloLens and VR development. |
sean-kerawala |
sekerawa |
09/16/2021 |
article |
high |
up-to-date, tools, get started, basics, unity, toolkit, mixed reality headset, windows mixed reality headset, installation, Windows, HoloLens, openxr, Mixed Reality Feature Tool, Feature Tool |
Important
The Mixed Reality Feature Tool is only available for Unity at the moment. If you're developing in Unreal, refer to the tools installation documentation.
The Mixed Reality Feature Tool is a new way for developers to discover, update, and add Mixed Reality feature packages into Unity projects. You can search packages by name or category, see their dependencies, and even view proposed changes to your projects manifest file before importing. If you've never worked with a manifest file before, it's a JSON file containing all your projects packages. Once you've validated the packages you want, the Mixed Reality Feature tool will download them into the project of your choice.
Before you can run the Mixed Reality Feature Tool, you'll need:
- A PC running Windows 10 or 11 with an active Internet connection
Note
If the PC is on a network managed by an organization, make sure access to the following URLs is allowed:
- https://aka.ms/*
- https://learn.microsoft.com/*
- https://pkgs.dev.azure.com/*
- https://feeds.dev.azure.com/*
- https://mixedrealitycloud.pkgs.visualstudio.com/* (for special early access users only)
Once you have your environment set up:
- Download the latest version of the Mixed Reality Feature Tool from the Microsoft Download Center.
- When the download completes, unzip the file and save it to your desktop
- We recommend creating a shortcut to the executable file for faster access
Note
If you're new to using the Unity Package Manager, follow our UPM instructions.
Version 1.0.2209.0-Preview includes the following improvements:
- Added 'show preview features' option to the discover features view
- Updated to .NET 6
- Consolidated the app and .NET 6 runtime into a single executable for easier distribution
- Fixed an issue where a prompt for downgrading existing package versions shows up when unnecessary
Launch the Mixed Reality Feature Tool from the executable file, which displays the start page on first launch:
From the start page, you can:
- Configure tool settings using the gear icon button
- Use the question mark button to launch the default web browser and display our documentation
- Select Start to begin discovering feature packages
To ensure that all discovered features are supported on your project's version of Unity, the fist step is to point the Mixed Reality Feature Tool to your project using the ellipsis button (to the right of the project path field).
Note
The dialog that's displayed when browsing for the Unity project folder contains '_' as the file name. There must be a value for the file name to enable the folder to be selected.
When you have located your project's folder, click the Open button to return to the Mixed Reality Feature Tool.
Important
The Mixed Reality Feature Tool performs validation to ensure that it has been directed to a Unity project folder. The folder must contain Assets
, Packages
and Project Settings
folders.
Once the project has been selected, you can
- Restore Features: download the Feature Tool shipped packages listed in the project manifest to Packages/MixedReality if they are not present there already. The feature is similar to
nuget restore
in concept. Typically you only need to perform this operation if you have a project (with Feature Tool packages) cloned from a repo configured to ignore tarball files. You can close the Feature Tool after restoring if you do not need to get new packages.
and/or
- Discover Features: proceed to the next page to select the packages you want to add to your project.
Features are grouped by category to make things easier to find. For example, the Mixed Reality Toolkit category has several features for you to choose from:
Note
If you will be using the MRTK3 public preview release in your project, you must enable Show preview releases
as shown below in the red box.
When the Mixed Reality Feature Tool recognizes previously imported feature(s), it displays a notification message by each.
Once you've made your choices, select Get features to download all the required packages from the catalog. For more information, please see discovering and acquiring features.
Following acquisition, the complete set of packages is presented, along with a list of required dependencies. If you need to change any feature or package selections, this is the time:
We highly recommend using the Validate button to ensure the Unity project can successfully import the selected features. After validation, you'll see a pop-up dialog with a success message or a list of identified issues.
Select Import to continue.
Note
After clicking the Import button, if any issues remain a simple message will be displayed. The recommendation is to click No and to use the Validate button to view and resolve the issues.
For more information, please see importing features.
The final step is reviewing and approving the proposed changes to the manifest and project files:
- The proposed changes to the manifest are displayed on the left
- The files to be added to the project are listed to the right
- The Compare button allows for side by side viewing of the current manifest and the proposed changes
For more information, see reviewing and approving project modifications.
When the proposed changes are approved, your target Unity project is updated to reference the selected Mixed Reality features.
The Unity project's Packages folder now has a MixedReality subfolder with the feature package file(s) and the manifest will contain the appropriate reference(s).
Return to Unity, wait for the new selected features to load, and start building!