Skip to main content
Version: 21 Aug 2024

Unity SDK 2.4.0

Features

  • Deprecated YcbcrRenderer and its associated classes. Please use YCbCrRenderer instead.
  • Added Magic Leap 2 Physical Occlusion OpenXR feature.
  • Undeprecated MLCamera API.
  • Added Magic Leap 2 Reprojection OpenXR feature.
  • Added Magic Leap 2 Eye Tracker OpenXR feature.
  • Added com.magicleap.permission.USB_SIPSOP to the MagicLeap/Permissions section of Project Settings.
  • Added YCbCrHardwareBufferRenderer that uses AHardwareBuffer as its input.
  • Added MagicLeapPixelSensorRealityMode enum to the Pixel Sensor API.
  • Added EstimateData.HarmonicsCoefficients to the Light Estimation feature.
  • Changed default value for Blend Mode in Magic Leap 2 Rendering Extensions to Additive.
  • Updated example for Facial Expressions Feature to provide additional visualzations.

Known Issues and Bug Fixes

  • Fixed an issue with MagicLeapMarkerUnderstandingFeature where a marker's pose reverts to a default value instead of null.
  • Fixed an issue with MagicLeapLightEstimationFeature where a crash occurs when switching between cube map resolutions.- Fixed an issue with MagicLeapPixelSensorFeature.ConfigureSensorWithDefaultCapabilities function where it would fail for sensors with AutoExposure capabilities.
  • Fixed a crash when using Magic Leap 2 Physical Occlusion with editor versions starting from 2022.3.25f1 onward.
  • Fixed an issue with MagicLeapUserCalibrationFeature where it reports incorrect EyeCalibrationData.Status.
  • Spatial Anchors example may crash when trying to delete or publish anchors when not localized.
  • Application may stop rendering when coming out of sleep with device configured with multiple users.