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 toMagicLeapLocalizationMapFeature. - Added
GetPixelSensorFromXrPath()toMagicLeapPixelSensorFeature. - Added new Magic Leap 2 Secondary View Support OpenXR Feature to support
XR_MSFT_secondary_view_configurationandXR_MSFT_first_person_observerextensions. - Migrated experimental
XR_ML_view_configuration_depth_range_changeextension to a separate OpenXR Feature. - Improvemnts for Magic Leap Feature sets to better distinguish experimental and finalized OpenXR extensions.
MagicLeapSpatialAnchorsStorageFeatureImprovemnts to automatically work with theXRAnchorSubsystemwhere manual adding and deleting is not required. It is recommended to adjust the code accordingly leveraging the built inARAnchorManager.anchorsChangedevent.- Added
CaptureTimetoPixelSensorFrameto get the capture time of the corresponding frame forMagicLeapPixelSensorFeature. - Reorganized classes and types into new
MagicLeap.OpenXRnamespaces. - All OpenXRFeature classes inside the
UnityEngine.XR.OpenXR.Features.MagicLeapSupportnamespace 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 ofMagicLeapMeshingFeature.GetMeshIds().MagicLeapMeshingFeature.GetMeshData()is deprecated in in favor ofMagicLeapMeshingFeature.GetMeshData().MLXrAnchorSubsystem.GetAnchorPoseFromID()is deprecated in favor ofMLXrAnchorSubsystem.GetAnchorPoseFromId().MagicLeapSpatialAnchorsStorageFeature.DeleteStoredSpatialAnchor()is deprecated in favor ofMagicLeapSpatialAnchorsStorageFeature.DeleteStoredSpatialAnchors().MagicLeap.OpenXR.Features.LightEstimation.EstimateData.HarmonicsCoefficientsis 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.