Skip to main content
Version: 10 Jul 2024

Unity SDK 2.3.0

Features

  • Added Magic Leap 2 Light Estimation OpenXR Feature.
  • Update OpenXR Plugin dependency to 1.11.0.
  • Increased minimum Unity version to 2022.3 to be in line with the oldest LTS supported for Magic Leap by Unity.
  • Added GetMapOrigin() method to MagicLeapLocalizationMapFeature.
  • Added GetPixelSensorFromXrPath() to MagicLeapPixelSensorFeature.
  • Added new Magic Leap 2 Secondary View Support OpenXR Feature to support XR_MSFT_secondary_view_configuration and XR_MSFT_first_person_observer extensions.
  • Migrated experimental XR_ML_view_configuration_depth_range_change extension to a separate OpenXR Feature.
  • Improvemnts for Magic Leap Feature sets to better distinguish experimental and finalized OpenXR extensions.
  • MagicLeapSpatialAnchorsStorageFeature Improvemnts to automatically work with the XRAnchorSubsystem where manual adding and deleting is not required. It is recommended to adjust the code accordingly leveraging the built in ARAnchorManager.anchorsChanged event.
  • Added CaptureTime to PixelSensorFrame to get the capture time of the corresponding frame for MagicLeapPixelSensorFeature.
  • Reorganized classes and types into new MagicLeap.OpenXR namespaces.
  • All OpenXRFeature classes inside the UnityEngine.XR.OpenXR.Features.MagicLeapSupport namespace have been marked Obsolete. The classes are relocated to new MagicLeap namespaces. Please update existing code to avoid compilation errors.
  • MagicLeapMeshingFeature.GetMeshIds() is deprecated in favor of MagicLeapMeshingFeature.GetMeshIds().
  • MagicLeapMeshingFeature.GetMeshData() is deprecated in in favor of MagicLeapMeshingFeature.GetMeshData().
  • MLXrAnchorSubsystem.GetAnchorPoseFromID() is deprecated in favor of MLXrAnchorSubsystem.GetAnchorPoseFromId().
  • MagicLeapSpatialAnchorsStorageFeature.DeleteStoredSpatialAnchor() is deprecated in favor of MagicLeapSpatialAnchorsStorageFeature.DeleteStoredSpatialAnchors().
  • MagicLeap.OpenXR.Features.LightEstimation.EstimateData.HarmonicsCoefficients is temporarily removed until the feature is fully implemented.
  • Updated License file.

Bugfixes

  • MagicLeapSpatialAnchorStorageFeature.OnQueryComplete will now be invoked when 0 anchors are found for a query.
  • Fixed issue where a DllNotFoundException prevents application from launching if the Magic Leap XR Plugin package is installed but its XR Provider is not enabled.
  • Fixed issue of potentially corrupted Cubemap for MagicLeapLightEstimationFeature.GetEstimateCubemap.