The first wave of commercial Magic Leap 2 kits have left the factory and are landing on doorsteps now! With their arrival, the developer community grows. Thank you for your support in helping us reach this exciting milestone. We are also thrilled to announce the debut of Magic Leap 2 support in the publicly available release of Unity. No more hidden web pages or Google Drive links. Now, you can download the editor from the Unity Hub, and the XR package from the Unity Package Manager, and you're good to go. For more August 2022 SDK and OS release highlights, checkout the list below and the Release Notes.
- MLCamera - added per-frame camera intrinsics (C API, Unity)
- MLCameraMetadata - added support for camera autofocus, new sample app available (C API)
- EyeCalibration (C API, Unity)
- HeadsetFit (C API, Unity)
- MLAudioInput - reports audio and position data, create non-streamed audio clips (Unity)
- AudioInput.Clip - Record AudioClip from Microphone (Unity)
- MagicLeapCamera.CS - Now includes WorldScale (Unity)
- WebXR player
- Rename of APIs and Features (e.g. LuminUnity asmdef is now MagicLeap SDK, others…)
AR content built with WebXR can now be viewed on Magic Leap 2. This opens a new avenue of AR experiences and development options. To get started, visit the WebXR feature article in the Magic Leap 2 developer knowledge base. The article will provide you with step-by-step instructions to get you up and running with the WebXR player.
To minimize potential issues, we encourage you to avoid upgrading directly to the August 2022 (ver.
B3E.220721.07-R.026_user) of Magic Leap 2 OS if your Magic Leap 2 is running a version older than July 2022 Hot Fix (ver.
B3E.220619.07-R.124_user). If you are running a version that is older than July 2022 Hot Fix (ver.
B3E.220619.07-R.124_user) you will need to upgrade your device sequentially working up to the August 2022 release.
For example, if you are on the June 2022 release (ver.
B3E.220523.01-R.041_userdebug), you would first update to the July 2022 (ver.
B3E.220619.07-R.107_user), then the July 2022 hotfix and finally flash the August 2022 release.
Before you begin the updating process, please check the version of the OS you currently have installed by using these steps:
- Boot up your Magic Leap 2 and from the Home screen open Settings.
- In Settings select "About" and scroll to the bottom of the page.
- Look for the section labeled "Build Number" this shows the version of the OS currently installed on the device.
To get this process started you can find the latest OS image & SDKs in The Lab 2.0 Package Manager. When you open The Lab 2.0, accept the prompts to trigger the update to the latest version. The app will restart. Once it re-opens, navigate to the "Package Manager" and start downloading the latest SDK, OS, and Tools packages.
After the downloads are complete, visit our Device Flashing Guide. These instructions have been updated to help side step some issues, so please take a look. If you are using a Mac to flash your Magic Leap 2 additional equipment maybe required.
It's now easier than ever to get the right version of Unity to develop for Magic Leap 2. Download the Unity Hub (https://unity.com/download) and install it. From the Unity Hub select and install version
Once the install is complete and you've load or created a new project you'll need to add or update to version
7.0.0-exp.3 of the
com.unity.xr.magicleap XR Package. This package is required to develop apps for Magic Leap 2.
Please follow our Unity Setup Guide. The instructions have been updated and they will guide you step-by-step to properly configure your Unity development environment.
We haven't received many bug reports or feature requests through the forms on the developer portal homepage. We try to keep the bugs down but we're sure there must be a few hanging around. If you find any please report them in the form. The reports are immediately triaged and added to our sprints. Please use those forms, you can find them here: Magic Leap 2 Developer Portal.
Magic Leap 2 Developer Pro Edition is available for purchase now. To get started check out our Where To Buy Page.