Skip to main content
Version: 21 Aug 2024

Choosing a Development Environment

You can develop for Magic Leap 2 using the Native C API or Unity. If you need help finding the right tool, this article provides additional details on each development path.

Unity

Unity is a leading platform for real-time development. The underlying runtime code is written in C++, and all scripting is done using C#. Unity supports all types of projects, including movies, games, and animation cinematics. It also allows you to render engineering or architectural concepts in a virtual environment.

Get started with Unity.

Unreal Engine 5

Unreal Engine 5 is a 3D graphics game engine created by Epic Games. Unreal Engine 5 is written in C++ and gives developers full access to its code base. Its C++ API allows you to add new classes to extend Unreal Engine's functionality. Unreal Engine also includes visual scripting through Blueprints.

Get started with Unreal Engine 5.

Native OpenXR

Magic Leap 2 supports OpenXR and allows developers to create applications using a cross platform APIs. As defined officially by the Khronos Group, “OpenXR is a royalty-free, open standard that provides high-performance access to Augmented Reality (AR) and Virtual Reality (VR)—collectively known as XR—platforms and devices”.

Get started with Native C OpenXR APIs.

Native MLSDK

Our C API allows developers to create Magic Leap 2 applications using C++. It also allows developers to add Magic Leap features into custom plugins or engines.

Get started developing for Magic Leap 2 using the native C API.