# Getting started tutorial problem Mac OS Unity Magic Leap 2

**URL:** <https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436>\
**Category:** Getting Started\
**Created:** [August 25, 2023, 7:11pm UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436 "2023-08-25T19:11:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjcomp](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/sjcomp/32/1142_2.png) [@sjcomp](https://forum.magicleap.cloud/u/sjcomp)\
**Post date:** [August 25, 2023, 7:11pm UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436/1 "2023-08-25T19:11:07Z")

</div>

Hey, I am going through the getting started tutorial with Unity 2022.3.0f1 on Mac (13.5.1) with mlsdk 1.3.0. I am able to deploy and run the app on my Magic Leap 2 (OS 1.2.0). But nothing is rendered (not even Made with Unity logo). I get the following lines in the log:

Unity;[XR] [XR::Display] begin\_frame() retured: InvalidParam;

Any suggestions on how to address this? Thank you.

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [August 25, 2023, 9:20pm UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436/2 "2023-08-25T21:20:36Z")

</div>

Hi @sjcomp,

Thank you for reaching out regarding this issue with the getting started tutorial. I will go ahead and attempt to reproduce this issue. Would you mind providing reproduction steps?

Best,

El

---

<div class="post-metadata">

**Author:** ![sjcomp](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/sjcomp/32/1142_2.png) [@sjcomp](https://forum.magicleap.cloud/u/sjcomp)\
**Post date:** [August 26, 2023, 12:46am UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436/3 "2023-08-26T00:46:53Z")

</div>

I was following the steps from official ML docs. I have created a project, and used Magic Leap Setup Tool from the Unity Asset Store. I configured rendering pipeline and created a simple app. Everything looks fine in the simulator. I am not allowed to post links yet: developer-docs /guides/unity/getting-started/unity-building-simple-app

My coworker followed these steps on their windows machine and they were successful deploying to my Magic Leap 2 device. When I used their project on my mac, I got the failure above. I followed the tutorial myself from scratch and still I have the same error on a new project from scratch. My mac is M1, in case that's relevant.

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [August 28, 2023, 10:04pm UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436/4 "2023-08-28T22:04:03Z")

</div>

Does the same issue occur when building other projects?

---

<div class="post-metadata">

**Author:** ![sfernandez](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/sfernandez/32/747_2.png) [@sfernandez](https://forum.magicleap.cloud/u/sfernandez)\
**Post date:** [August 28, 2023, 10:10pm UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436/5 "2023-08-28T22:10:26Z")

</div>

Hi @sjcomp  
could you try building the sdk examples project and see if you have the same problem?  
[https://developer-docs.magicleap.cloud/docs/guides/unity/sdk-example-scenes/sdk-install-setup](https://developer-docs.magicleap.cloud/docs/guides/unity/sdk-example-scenes/sdk-install-setup)  
M1 mac should be fine ✌ M2 has trouble right now iirc.  
Thank you,  
Sidney

---

<div class="post-metadata">

**Author:** ![sjcomp](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/sjcomp/32/1142_2.png) [@sjcomp](https://forum.magicleap.cloud/u/sjcomp)\
**Post date:** [August 28, 2023, 10:46pm UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436/6 "2023-08-28T22:46:27Z")

</div>

Yes. I had this problem with all projects I tried to build.

---

<div class="post-metadata">

**Author:** ![sjcomp](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/sjcomp/32/1142_2.png) [@sjcomp](https://forum.magicleap.cloud/u/sjcomp)\
**Post date:** [August 28, 2023, 10:48pm UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436/7 "2023-08-28T22:48:19Z")

</div>

Thank you for the suggestion. I tried building sample projects, with the same result. Hence I tried making the simple app, as a way to see if there is something I am missing in the setup.

---

<div class="post-metadata">

**Author:** ![sjcomp](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/sjcomp/32/1142_2.png) [@sjcomp](https://forum.magicleap.cloud/u/sjcomp)\
**Post date:** [August 29, 2023, 1:39pm UTC](https://forum.magicleap.cloud/t/getting-started-tutorial-problem-mac-os-unity-magic-leap-2/2436/8 "2023-08-29T13:39:47Z")

</div>

I've asked the question at unity forums and EmadG\_dolf there had a similar issue. He recommended upgrading OS to 1.31, as it fixed the problem for him. I did the same and it also fixed the issue for me. Thank you.
