Isssues with App Simulator Permissions in Unity

I'm trying to run the MediaPlayer example scene in Unity. When I hit play in the Unity editor, the Media Player screen shows up in the App Sim, but there are several errors in the Unity console stating that MLZI Permissions were denied/failed, even though the permissions are set to be allowed in the App Sim.

Unity Editor version: 2022.2.0b10
ML2 OS version:
MLSDK version: 1.0.0
ML Hub version:
Magic Leap Application Simulator (ZI) Runtime version: 3.3.0.20220921
Magic Leap App Simulator for Unity (if applicable): 1.0.0
Host OS: (Windows/MacOS)

Error messages from logs (syntax-highlighting is supported via Markdown):

Error: MLZIPermissionsIsGranted in the Magic Leap API failed. Reason: MLResult_PermissionDenied
UnityEngine.XR.MagicLeap.MLPermissions:RequestPermission (string,UnityEngine.XR.MagicLeap.MLPermissions/Callbacks)
MagicLeap.Examples.MediaPlayerCycler:Start () (at Assets/MagicLeap/Examples/Scripts/MediaPlayer/MediaPlayerCycler.cs:50)

Error: MLZIPermissionsIsGranted in the Magic Leap API failed. Reason: MLResult_PermissionDenied
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

1 Like

@maddyvan Can you please submit logs as instructed in this page:

https://developer-docs.magicleap.cloud/docs/guides/developer-tools/ml-hub/app-sim/error-reporting

There will be a ZIP file that you can attach here. It will be needed for debugging by us.

1 Like

Hello @maddyvan, Any progress on the logs? Thank you for your post.

1 Like