# Unity setup issue for magic leap 2

**URL:** <https://forum.magicleap.cloud/t/unity-setup-issue-for-magic-leap-2/2875>\
**Category:** Unity Development\
**Tags:** development, unity\
**Created:** [November 14, 2023, 4:32pm UTC](https://forum.magicleap.cloud/t/unity-setup-issue-for-magic-leap-2/2875 "2023-11-14T16:32:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandrashekar2](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@chandrashekar2](https://forum.magicleap.cloud/u/chandrashekar2)\
**Post date:** [November 14, 2023, 4:32pm UTC](https://forum.magicleap.cloud/t/unity-setup-issue-for-magic-leap-2/2875/1 "2023-11-14T16:32:18Z")

</div>

Give us as much detail as possible regarding the issue you're experiencing.

**Unity Editor version** : 2022.2.12f1  
**ML2 OS version** : Version 1.4.1  
Build B3E.230928.10-R.098  
Android API Level 29  
**MLSDK version** : v1.12.0 (Couldn't install)  
**Host OS** : Windows 11  
Description:

1. Approach1: I am following the **ML2 Installation tutorials** and getting below error when trying to add the **unity sdk**.
2. Approach2: Magic Leap setup tool returns 404.  
[Asset Store (unity.com)](https://assetstore.unity.com/packages/tools/integration/magic-leap-setup-tool-194780)

I am unable to get started with the development. If anyone could direct me towards working tutorial for setup and getting started with ML2 unity development, it would be great.

**Error messages from logs** (syntax-highlighting is supported via Markdown):  
[Package Manager Window] Error adding package: file:C:/Users/USER\_NAME/MagicLeap/tools/unity/v1.12.0/com.magicleap.unitysdk.tgz. An error occurred, likely on the server. Please try again later.  
Unable to add package [file:C:/Users/USER\_NAME/MagicLeap/tools/unity/v1.12.0/com.magicleap.unitysdk.tgz]:  
One or more dependencies could not be added to the local file system:  
com.unity.xr.magicleap: Request [GET [https://download.packages.unity.com/com.unity.xr.magicleap/-/com.unity.xr.magicleap-7.0.0.tgz](https://download.packages.unity.com/com.unity.xr.magicleap/-/com.unity.xr.magicleap-7.0.0.tgz)] failed with status code [502]  
UnityEditor.EditorApplication:Internal\_CallUpdateFunctions ()

---

<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:** [November 14, 2023, 10:12pm UTC](https://forum.magicleap.cloud/t/unity-setup-issue-for-magic-leap-2/2875/2 "2023-11-14T22:12:56Z")

</div>

Hi @chandrashekar2,

Welcome to the Magic Leap 2 Developer Forums. We are so grateful to have you here engaging with us.

I have reached out to our team regarding this issue and I will report back as soon as I learn more. Thank you for the detailed description as it helps us track down the issue.

Best,

El

---

<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:** [November 14, 2023, 10:51pm UTC](https://forum.magicleap.cloud/t/unity-setup-issue-for-magic-leap-2/2875/3 "2023-11-14T22:51:11Z")

</div>

Hi @chandrashekar2,

Would you mind signing out of your Unity account and singing back in again. It looks like your package manager can't connect to the network.

Best,

El

---

<div class="post-metadata">

**Author:** ![chandrashekar2](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@chandrashekar2](https://forum.magicleap.cloud/u/chandrashekar2)\
**Post date:** [November 16, 2023, 5:16pm UTC](https://forum.magicleap.cloud/t/unity-setup-issue-for-magic-leap-2/2875/4 "2023-11-16T17:16:56Z")

</div>

Hello etucker,

I was able to do the unity setup and test out few example scenes built in the ML toolkit. I no longer face the issue with magic leap unity setup.

Thanks for the amazing product.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/bd9b737a4d45ea243aa7eb177d60a773b806899a.svg) [@system](https://forum.magicleap.cloud/u/system)\
**Post date:** [December 1, 2023, 5:17pm UTC](https://forum.magicleap.cloud/t/unity-setup-issue-for-magic-leap-2/2875/5 "2023-12-01T17:17:52Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
