All permissions are enabled.
I tried testing the AudioCapture scene and it froze with this error message:
Error: MLAudioGetBufferedInputDefaults in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLAudioInput/StreamingClip:.ctor (UnityEngine.XR.MagicLeap.MLAudioInput/MicCaptureType,int,int)
MagicLeap.Examples.AudioCaptureExample:StartMicrophone () (at Assets/MagicLeap/Examples/Scripts/AudioCaptureExample.cs:214)
MagicLeap.Examples.AudioCaptureExample:HandleOnTriggerDown (UnityEngine.InputSystem.InputAction/CallbackContext) (at Assets/MagicLeap/Examples/Scripts/AudioCaptureExample.cs:329)
UnityEngine.InputSystem.LowLevel.NativeInputRuntime/<>c__DisplayClass7_0:<set_onUpdate>b__0 (UnityEngineInternal.Input.NativeInputUpdateType,UnityEngineInternal.Input.NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate (UnityEngineInternal.Input.NativeInputUpdateType,intptr)
Error: MLAudioCreateInputFromMicCapture in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLAudioInput/StreamingClip:.ctor (UnityEngine.XR.MagicLeap.MLAudioInput/MicCaptureType,int,int)
MagicLeap.Examples.AudioCaptureExample:StartMicrophone () (at Assets/MagicLeap/Examples/Scripts/AudioCaptureExample.cs:214)
MagicLeap.Examples.AudioCaptureExample:HandleOnTriggerDown (UnityEngine.InputSystem.InputAction/CallbackContext) (at Assets/MagicLeap/Examples/Scripts/AudioCaptureExample.cs:329)
UnityEngine.InputSystem.LowLevel.NativeInputRuntime/<>c__DisplayClass7_0:<set_onUpdate>b__0 (UnityEngineInternal.Input.NativeInputUpdateType,UnityEngineInternal.Input.NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate (UnityEngineInternal.Input.NativeInputUpdateType,intptr)
Error: MLAudioStartInput in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLAudioInput/StreamingClip:.ctor (UnityEngine.XR.MagicLeap.MLAudioInput/MicCaptureType,int,int)
MagicLeap.Examples.AudioCaptureExample:StartMicrophone () (at Assets/MagicLeap/Examples/Scripts/AudioCaptureExample.cs:214)
MagicLeap.Examples.AudioCaptureExample:HandleOnTriggerDown (UnityEngine.InputSystem.InputAction/CallbackContext) (at Assets/MagicLeap/Examples/Scripts/AudioCaptureExample.cs:329)
UnityEngine.InputSystem.LowLevel.NativeInputRuntime/<>c__DisplayClass7_0:<set_onUpdate>b__0 (UnityEngineInternal.Input.NativeInputUpdateType,UnityEngineInternal.Input.NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate (UnityEngineInternal.Input.NativeInputUpdateType,intptr)
For the Camera Capture, same result with:
Error: MLMediaPlayerCreate in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLMedia/Player:.ctor (UnityEngine.XR.MagicLeap.MLResult&)
MagicLeap.Core.MLMediaPlayerBehavior:get_MediaPlayer () (at Library/PackageCache/com.magicleap.unitysdk@98db447e4af9/Runtime/Deprecated/MediaPlayer/Scripts/MLMediaPlayerBehavior.cs:84)
MagicLeap.Core.MLMediaPlayerBehavior:Reset () (at Library/PackageCache/com.magicleap.unitysdk@98db447e4af9/Runtime/Deprecated/MediaPlayer/Scripts/MLMediaPlayerBehavior.cs:385)
MagicLeap.Examples.CameraCaptureExample:OnApplicationPause (bool) (at Assets/MagicLeap/Examples/Scripts/CameraCapture/CameraCaptureExample.cs:179)
Exception: Media Player initialization result with error MLResult_NotImplemented.
MagicLeap.Core.MLMediaPlayerBehavior.get_MediaPlayer () (at Library/PackageCache/com.magicleap.unitysdk@98db447e4af9/Runtime/Deprecated/MediaPlayer/Scripts/MLMediaPlayerBehavior.cs:108)
MagicLeap.Core.MLMediaPlayerBehavior.Reset () (at Library/PackageCache/com.magicleap.unitysdk@98db447e4af9/Runtime/Deprecated/MediaPlayer/Scripts/MLMediaPlayerBehavior.cs:385)
MagicLeap.Examples.CameraCaptureExample.OnApplicationPause (System.Boolean isPaused) (at Assets/MagicLeap/Examples/Scripts/CameraCapture/CameraCaptureExample.cs:179)
ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
System.Buffer.BlockCopy (System.Array src, System.Int32 srcOffset, System.Array dst, System.Int32 dstOffset, System.Int32 count) (at <8f06425e63004caf99a79845675f751e>:0)
UnityEngine.XR.MagicLeap.MLCameraBase.FlipFrameVertically (UnityEngine.XR.MagicLeap.MLCameraBase+CameraOutput& frame) (at Library/PackageCache/com.magicleap.unitysdk@98db447e4af9/Runtime/Deprecated/Camera/API/MLCameraBaseHelpers.cs:92)
MagicLeap.Examples.CameraCaptureVisualizer.OnCaptureDataReceived (UnityEngine.XR.MagicLeap.MLCameraBase+ResultExtras extras, UnityEngine.XR.MagicLeap.MLCameraBase+CameraOutput frameData) (at Assets/MagicLeap/Examples/Scripts/Visualizers/CameraCaptureVisualizer.cs:167)
MagicLeap.Examples.CameraCaptureExample.OnCaptureRawImageComplete (UnityEngine.XR.MagicLeap.MLCameraBase+CameraOutput capturedImage, UnityEngine.XR.MagicLeap.MLCameraBase+ResultExtras resultExtras, UnityEngine.XR.MagicLeap.MLCameraBase+Metadata metadataHandle) (at Assets/MagicLeap/Examples/Scripts/CameraCapture/CameraCaptureExample.cs:675)
UnityEngine.XR.MagicLeap.Native.MLThreadDispatch+DispatchPayload3`3[A,B,C].Dispatch () (at Library/PackageCache/com.magicleap.unitysdk@98db447e4af9/Runtime/Common/Utils/MLThreadDispatch.cs:529)
UnityEngine.XR.MagicLeap.Native.MLThreadDispatch.DispatchAll () (at Library/PackageCache/com.magicleap.unitysdk@98db447e4af9/Runtime/Common/Utils/MLThreadDispatch.cs:287)
UnityEngine.XR.MagicLeap.MLDevice.Update () (at Library/PackageCache/com.magicleap.unitysdk@98db447e4af9/Runtime/Common/Utils/MLDevice.cs:519)
I have not made any changes to the code at all. All project settings permissions are granted.