These guides serve as a starting point for Magic Leap app development in Unity. If this is your first time developing for Magic Leap, we recommend that you follow the guides sequentially. If you are an experienced Magic Leap developer, these guides can be used as standalone references.
📄️ Install the Tools
This section provides information on how to install and configure the Unity Editor required to develop for Magic Leap 2.
📄️ Create a Project
This section provides instructions on creating a new Unity with a version that is compatible with Magic Leap 2 development.
📄️ Configure Project Settings
This topic describes how to configure the Unity Build Settings to utilize Magic Leap features.
📄️ Render Pipeline Settings
This section assumes you created a new project using the URP template. The URP template project includes a collection of various URP assets, each pre-configured with different settings to represent different levels of quality. However, for Android apps running on our platform, the default configuration does not allow for a smooth 60 FPS experience in even the simplest scene. Follow these steps to configure the URP settings in your project to improve performance.
📄️ Building a Simple App
This document describes how to build a Magic Leap 2 application using Unity.
📄️ Migrating from ML1
This section includes useful information about API changes when migrating Magic Leap 1 applications to Magic Leap 2.