Skip to main content
Version: 12 Dec 2024

Unity Package 2.0.0

Features

  • Replace the Magic Leap XR Plugin with the OpenXR Plugin as the direct XR provider dependency package. If you'd wish to continue using the Magic Leap XR Plugin, install it from the Package Manager, and ensure it is enabled as the sole XR provider in Project Settings/XR Plug-in Management.
  • Added Magic Leap 2 Support OpenXR Feature
  • Added Magic Leap 2 Localization Maps OpenXR Feature
  • Added Magic Leap 2 Marker Understanding OpenXR Feature
  • Added Magic Leap 2 Plane Detection OpenXR Feature
  • Added Magic Leap 2 Reference Spaces OpenXR Feature
  • Added Magic Leap 2 Rendering Extensions OpenXR Feature
  • Added Magic Leap 2 System Notification Control OpenXR Feature
  • Added Magic Leap 2 User Calibration OpenXR Feature
  • Added Magic Leap 2 Controller Interaction Profile for OpenXR
  • Added ML Rig & Inputs Sample
  • Changed MLMarkerTracker default settings behavior to not begin marker tracking immediately. Also set the default MarkerType to None when creating the MLMarkerTracker.TrackerSettings struct.

Experimental

  • Added Magic Leap 2 Spatial Anchors and Magic Leap 2 Spatial Anchors Storage OpenXR Features

Bug Fixes

  • Fixed an issue in MLGestureClassification where hand transform and interaction points would freeze in place when Posture type was None.
  • Added missing comments describing parameters and returns to functions in MLSpace.
  • Fixed issue in MLMediaPlayerBehavior where HLS streams would not play after resolution changes.
  • Fixed issue in MLMediaPlayerBehavior where DASH streams would not display video or audio.
  • Fixed issue in MLCamera that resulted in crashes & artifacts when rendering YUV capture to a RenderTexture.
  • Fixed issue in MLCamera that resulted in crashes when waking from sleep.
  • Fixed issue with legacy Hands subsystem causing compilation errors in MRTK projects.
  • Fixed issue with Segmented Dimmer not functioning correctly
  • Improved performance of MLEyeCamera

Deprecations & Removals

  • MLCamera: Deprecated MLCamera API. Developers will need to utilize the Android SDK Camera2 API or the NDK Camera API instead.

Known Issues

  • MLPlanes fails to start. As a workaround, you may use the Magic Leap 2 Plane Detection OpenXR Feature.
  • ML_Anchors cannot be used at the same as XR_ML_spatial_anchors