The Magic Leap platform provides a wide range of capabilities able to run on Magic leap devices.
As the Magic Leap platform REQUIRES the new XR Plugin Management system, this means a Magic Leap project has to be separate from other platforms. This will be resolved in the near future once the other platforms have been updated. However, you can still build the project for other platforms and simply copy the assets folder to your Magic Leap project to build and run. The Mixed Reality Toolkit remains the same.
To develop for the Windows Mixed Reality platform, you will need:
- A Windows 10 PC
- Visual Studio 2019 community edition or later
- The Magic Leap Lab
- Magic Leap SDK 0.24.1
- The XRTK.SDK package (installed first!)
- The XRTK.Lumin package
It is advantageous to also have a Magic Leap headset, however the Magic Leap Developer Lab also provides simulation capabilities for testing.
- Please check the Magic Leap Developer Lab guidance for correctly setting up your machine for Unity development
mlsdkto your system environment variables with the path to your magic leap folder install
- Add the magic leap sdk path to your systems
The following capabilities are currently available for the Windows Mixed Reality platform
- Headset Tracking
- Magic Leap controller
- Spatial Awareness
The following capabilities are not currently available or are in development
- Magic Leap Hands implementation
Create a new Unity Project
Switch to the
Setup the Unity XR settings in "Edit -> Project Settings -> XR Plugin Management" for
Add the XRTK UPM registry to Unity by Opening the Unity Package Manager (
Window -> Package manager), selecting the
Advanceddrop down and clicking on
Advanced Project Settings, then Adding the following details:
Return to the Unity Package manager and select
My Registriesin the Sources) dropdown (next to the
When prompted, install the Lumin platform configuration in to your current project
Close the Unity Package Manager and return to your scene
Select or create the scene you want to create Mixed Reality Content in
Mixed Reality Toolkit -> Configurein the Unity Menu. THis will update your scene and add the MixedRealityToolkit instance.
Provided you have configured the XR Plugin Management correctly, the project will run.
If there is anything not mentioned in this document or you simply want to know more, raise an RFI (Request for Information) request here.