Skip to main content
Version: 20 Mar 2024

Spatial Anchor Overview

The Magic Leap 2 OpenXR Unity SDK supports creating local anchors through the Magic Leap Spatial Anchor Subsystem feature. This feature needs to be enabled in the OpenXR Settings (Edit > Project Settings > XR Plug-in Management > OpenXR), in the OpenXR Feature Groups section.

Enabling the Magic Leap Anchor Subsystem feature allows developers to access the Spatial Anchor API via Unity's AR Foundation Package .

caution

This feature requires the SPATIAL_ANCHOR permission to be enabled in your project's Permissions Settings (Edit > Project Settings > Magic Leap > Permissions).

In this Category