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_configuration
andXR_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 theXRAnchorSubsystem
where manual adding and deleting is not required. It is recommended to adjust the code accordingly leveraging the built inARAnchorManager.anchorsChanged
event.- Added
CaptureTime
toPixelSensorFrame
to get the capture time of the corresponding frame forMagicLeapPixelSensorFeature
. - 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 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.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.