Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We recommend installing Unreal Engine version 4.27 or 5.0 to take full advantage of built-in HoloLens support.
Go to the Library tab in the Epic Games Launcher, select the dropdown arrow next to Launch and click Options. Under Target Platforms, select HoloLens 2 and click Apply.
Mixed Reality Toolkit (MRTK) is an open-source, cross-platform development kit for mixed reality applications. MRTK provides a cross-platform input system, foundational components, and common building blocks for spatial interactions. The toolkit is intended to accelerate the development of applications targeting Microsoft HoloLens, Windows Mixed Reality immersive (VR) headsets, and the OpenVR platform.
If you don't already have a mixed reality project, follow the first three sections of the HoloLens 2 Getting Started tutorials to get a project ready for the MRTK.
We recommend that you use the MRTK Hub to acquire MRTK plugins. It's a new way for developers to discover and update Microsoft Mixed Reality plugins and add them to their Unreal projects. You can view plugins, see their dependencies and install them into your project without leaving the Unreal Editor.
Note
The MRTK Hub for Unreal is only available for Unreal Engine version 4.26 or later. For Unreal Engine version 4.25+, you can get MRTK plugins from the Unreal Engine Marketplace or GitHub as described in the Getting Started section.
Download the plugin from the Unreal Engine Marketplace, then open your project, and then enable the plugin from the Mixed Reality section of the Plugins menu. When prompted, restart the editor.
Once the plugin is enabled for your project, you can access the Hub from the toolbar button.
To install a plugin using the Hub, select the plugin you want to add to your project and then press the Install button. To download the plugin, verify that there are no conflicts in the Issues box and press Confirm. Once the plugin is downloaded, you'll be prompted to restart the editor.
Once the editor has restarted, your can continue on your mixed reality development journey.
Important
Once the plugin is installed, it must be checked into source control like any other project-level plugin.
To update a plugin using the Hub, select the plugin you want to update from the list and press the Install button. To download the updated plugin, verify that there are no conflicts in the Issues box and press Confirm. You'll be prompted to restart the editor to complete the update. Note that this restart may take some time as the plugins are updated.
To uninstall a plugin using the Hub, select the plugin you want to remove, and then select the version you have installed from the dropdown. To remove the plugin, verify that there are no conflicts in the Issues box and press Confirm. You'll be prompted to restart the editor to complete the removal. Note that this restart may take some time as the plugins are removed.
You can view the exact changes that will be made to your project in the bottom section of the Hub's window. From here you can see the plugins that will be added or removed from your project alongside any potential incompatibilities that might cause issues when the changes have been made.
Note
The Issues list will surface incompatibilities in the Unreal engine version and plugin dependency versions but it doesn't automatically fix or suggest fixes to issues.
Note
If you don't want to use MRTK for Unreal, you'll need to script all interactions and behaviors yourself.
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowTraining
Module
Set up a mixed reality project in Unity with the Mixed Reality Toolkit - Training
Import the Mixed Reality Toolkit (MRTK) into your Unity project to accelerate your mixed reality development. You can also deploy your project to a HoloLens.