Skip to content

1.4.0

Compare
Choose a tag to compare
@Nihav-Jain Nihav-Jain released this 22 Feb 17:37

Features

  • Added MLNativeBindings.MLUnitySdkGetMinApiLevel() method which reports the minimum Magic Leap API level supported by the package.
  • Added new MLCameraBase class to the MLCamera API which can be used to make camera API calls synchronously.
  • Added suite of automated API marshalling tests in Test Runner.
  • Added new public OnReceivedSamples callback to the MLAudioInput API.
  • Added new capability to MLSegmentedDimmer to enable using the camera's depth buffer to automatically apply segmented dimming to 3D meshes in a scene, instead of using URP. This feature will require an upcoming update to the com.unity.xr.magicleap package.
  • Added WinkLeft and WinkRight values to the MLGazeRecognition.Behavior enum.
  • Added Reset() method to the MLMediaPlayerBehavior script.
  • Added Controller.State struct to the Input subsystem get state info of the controller, such as handedness. Use InputSubsystem.Extensions.Controller.GetState() to query the current state.
  • Added MagicLeapCamera.recenterXROriginAtStart boolean to determine if the app should recenter the XROrigin object so that the Main Camera is at the scene's origin on start. This is set to true by default but can be toggled off within the inspector.

Bugfixes

  • Fixed bug where MLMarkerTracker would not shut down cleanly, causing a "PerceptionSystemNotStarted" error to fill the log output.
  • Fixed a low reproducible bug where the app would crash when consistently pausing and unpausing a scene by making the Pause/Resume methods synchronous in MLCamera

Known Issues

  • MLWebRTC: When disconnecting from a session, the camera does not shut down cleanly if the NativeSurface buffer format was used, causing the application to hang for as much as 30 seconds.

Deprecations & Removals

  • Several MLSegmentedDimmer properties which had previously been deprecated have now been removed.
  • MLSegmentedDimmer.SetEnabled() has been marked Obsolete and will be removed in a future release.