# Unity Magic Leap Setup Tool Stuck Loading

**URL:** https://forum.magicleap.cloud/t/unity-magic-leap-setup-tool-stuck-loading/3137
**Category:** Unity Development
**Created:** [February 6, 2024, 5:37am UTC](https://forum.magicleap.cloud/t/unity-magic-leap-setup-tool-stuck-loading/3137 "2024-02-06T05:37:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![haleyeahconsult](https://avatars.discourse-cdn.com/v4/letter/h/439d5e/32.png) [@haleyeahconsult](https://forum.magicleap.cloud/u/haleyeahconsult)
#### Post date: [February 6, 2024, 5:37am UTC](https://forum.magicleap.cloud/t/unity-magic-leap-setup-tool-stuck-loading/3137/1 "2024-02-06T05:37:22Z")

</div>

Trying to set up Unity to use the ML Development Kit, when setting it up initially I think I accidentally selected the wrong SDK folder, and now the Magic Leap Setup Tool is just loading forever. I have tried on multiple versions, removing and re-adding, re-installing unity, etc.

**Unity Editor version** : 2022.3.19  
**ML2 OS version** : None  
**MLSDK version** : 1.5.0  
**Host OS** : Windows

**Error messages from logs** (syntax-highlighting is supported via Markdown):  
NullReferenceException: Object reference not set to an instance of an object  
UnityEditor.XR.MagicLeap.MagicLeapProjectValidationRulesSetup.HasMagicLeapPackageVersionChanged (UnityEditor.PackageManager.PackageRegistrationEventArgs packageRegistrationEventArgs) (at ./Library/PackageCache/com.unity.xr.magicleap@7.0.0/Editor/MagicLeapProjectValidationRulesSetup.cs:44)  
UnityEditor.XR.MagicLeap.MagicLeapProjectValidationRulesSetup+\<\>c\_\_DisplayClass2\_0.b\_\_1 () (at ./Library/PackageCache/com.unity.xr.magicleap@7.0.0/Editor/MagicLeapProjectValidationRulesSetup.cs:31)  
UnityEditor.EditorApplication.Internal\_CallDelayFunctions () (at \<2acbecbc299e4654adc94df891af51f2\>:0)

---

<div class="post-metadata">

### Author: ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)
#### Post date: [February 6, 2024, 5:40am UTC](https://forum.magicleap.cloud/t/unity-magic-leap-setup-tool-stuck-loading/3137/2 "2024-02-06T05:40:40Z")

</div>

Please close the project and remove the asset, reverting the 2.0.0 Magic Leap Unity SDK dependency from your manifest file, and clearing your Library folder. Then re-open the project (in safe mode if necessary). Finally install the new setup tool from the Unity Asset store.

The previous version of the setup tool did not support the 2.0.0 Mgaic Leap Unity SDK. However there is a new version on the asset store that works properly when using the Magic Leap XR workflow with the 2.0.0 SDK.

We are actively working to add support for the OpenXR workflow as well.
