The Magic Leap platform provides a wide range of capabilities able to run on Magic leap devices.
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
- Add
mlsdk
to your system environment variables with the path to your magic leap folder install - Add the magic leap sdk path to your systems
path
environment variables
Variable | Value |
---|---|
mlsdk |
C:\users\<>\MagicLeap\mlsdk |
path |
C:\Users\<>\MagicLeap\mlsdk\v0.24.1 |
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
Lumin
platform inBuild Settings
- Setup the Unity XR settings in "Edit -> Project Settings -> XR Plugin Management" for
Lumin
- Add the XRTK UPM registry to Unity by Opening the Unity Package Manager (
Window -> Package manager
), selecting theAdvanced
drop down and clicking onAdvanced Project Settings
, then Adding the following details:Name: XRTK
Scope(s): com.xrtk
- Return to the Unity Package manager and select
My Registries
in the Sources) dropdown (next to the+
symbol) - Select the
XRTK.SDK
and clickInstall
- Install the
XRTK.Lumin
platform - 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
- Select
Mixed Reality Toolkit -> Configure
in the Unity Menu. THis will update your scene and add the MixedRealityToolkit instance. - Enable the Magic Leap XR Loader in the XR SDK Manager
If there is anything not mentioned in this document or you simply want to know more, raise an RFI (Request for Information) request here.