# Installation of ML toole etc for latest version of Unity - errors!

**URL:** <https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540>\
**Category:** Unity Development\
**Tags:** unity, getting-started\
**Created:** [May 16, 2024, 4:05pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540 "2024-05-16T16:05:23Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![r.s.kalawsky](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@r.s.kalawsky](https://forum.magicleap.cloud/u/r.s.kalawsky)\
**Post date:** [May 16, 2024, 4:05pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/1 "2024-05-16T16:05:23Z")

</div>

HI

Having tried to install and integrate ML tools etc with Unity I have found many errors in the documented process. I have tried multiple options on intel macs and silicon macs. Having carefully followed instructions I'm beginning to wonder if the installation notes are now out of sync with the tools that need to be downloaded. I'm happy to accept it could be me but it need a different process.

I would prefer to use the version of OpenXR that allows most of the ML features to be accessed by the programmer.

Cheers

Roy

---

<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:** [May 16, 2024, 5:10pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/2 "2024-05-16T17:10:42Z")

</div>

Do you mind providing more information on the errors you are finding and information about the reproduction steps?

---

<div class="post-metadata">

**Author:** ![r.s.kalawsky](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@r.s.kalawsky](https://forum.magicleap.cloud/u/r.s.kalawsky)\
**Post date:** [May 16, 2024, 6:47pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/3 "2024-05-16T18:47:13Z")

</div>

Hi,

I’ll gather a few details to explain what is happening.

Cheers

Roy

---

<div class="post-metadata">

**Author:** ![r.s.kalawsky](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@r.s.kalawsky](https://forum.magicleap.cloud/u/r.s.kalawsky)\
**Post date:** [May 16, 2024, 8:02pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/4 "2024-05-16T20:02:17Z")

</div>

> On 16 May 2024, at 19:47, Magic Leap Care [care@magicleap.com](mailto:care@magicleap.com) wrote:

> Magic Leap Unity SDK\*\* THIS MESSAGE ORIGINATED OUTSIDE LOUGHBOROUGH UNIVERSITY \*\*
> 
> \*\* Be wary of links or attachments, especially if the email is unsolicited or you don't recognise the sender's email address. \*\*

Hi

Some details:

Procedure followed:

My goal is: Unity Magic Leap OpenXR Workflow

Following procedure:

[https://developer-docs.magicleap.cloud/docs/guides/unity/getting-started/install-the-tools/#](https://developer-docs.magicleap.cloud/docs/guides/unity/getting-started/install-the-tools/#)

Everything goes ok until:

If you are unsure which SDK path is used by your Unity installation, you can view the Android SDK path used by the Unity Editor inside Unity's Preferences Window.

1. In Unity, select **Edit \> Preferences** (macOS: **Unity \> Preferences** ).

In the mac version - macOS: **Unity \> Preferences** ) does not exist

Things stop working at this point:

![A screenshot of a software menu

Description automatically generated.png](cid:13D046C3-88F4-4795-BFAC-549A2EB23A8F)

It seems Magic Leap Unity SDK does not download or is incompatible with the M2 Mac

Interestingly following exactly the same process on an intel Mac things get further ahead but everthing stops installing at the point where the installatiuon is looking for the SDK?

Cheers

Roy

---

<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:** [May 20, 2024, 8:37pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/5 "2024-05-20T20:37:32Z")

</div>

I see that some images did not transfer properly. Could you also clarity what you mean by the following?

everthing stops installing at the point where the installatiuon is looking for the SDK?

Additionally, you are using the incorrect getting started guide. Please use the guide in the OpenXR section instead :

> **[Install the Tools | MagicLeap Developer Documentation](https://developer-docs.magicleap.cloud/docs/guides/unity-openxr/getting-started/install-the-tools/)**
>
> This section provides information on how to install and configure the Unity Editor required to develop for Magic Leap 2.

---

<div class="post-metadata">

**Author:** ![r.s.kalawsky](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@r.s.kalawsky](https://forum.magicleap.cloud/u/r.s.kalawsky)\
**Post date:** [May 21, 2024, 3:39pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/6 "2024-05-21T15:39:22Z")

</div>

Hi

Thank you for the correct getting started guide - I have managed to get through to the point ‘Build settings;

1. In the menu, go to **File** and select **Build Settings**.
2. Under **Platform** , select **Android**.
3. Click **Switch Platform**.
4. You are now ready to add scenes to the build order and build to the device!

I could not find ’Switch Platform” ?

I went through the validation process without errors.

Then moving onto:

‘Building a simple App with OpenXR. - Creating a scene.

When selecting File \> New scene and selecting the basic scene I get an error:

Couldn't parse HID descriptor with fast parser. Using fallback  
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) (at

I could not find the ML Rig prefab etc.

BTW - When attempting to install on another identical Mac asking for the location of the magic keep sdk which could not be found - all very odd.

Cheese

Roy

---

<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:** [May 21, 2024, 4:00pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/7 "2024-05-21T16:00:46Z")

</div>

If you are new to Unity. I recommend using the Magic Leap Examples project that can be downloaded form that Magic Leap Hub instead. Or using the MRTK 3 Template project.

1. Switch platform appears if you select a platform that is not active. A Unity icon appears next to the active build target. However if you select another platform you will see the button. In this sample I am already targeting Android but if I select Dedicated Server the button appears. So it might be that your editor is already set for Android

 ![image](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/6/62571cd9cacbf1d792e2b67476565f26d014df1f.png)

1. The rig is included as part of the Magic Leap Rig and Inputs sample and has to be imported via the package manager as listed in the prerequisite section of the document.

---

<div class="post-metadata">

**Author:** ![r.s.kalawsky](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@r.s.kalawsky](https://forum.magicleap.cloud/u/r.s.kalawsky)\
**Post date:** [May 21, 2024, 5:45pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/8 "2024-05-21T17:45:51Z")

</div>

HI

Yes - I am new to Unity having written everything in the past in C or Unreal. I do need to use OpenXR for other reasons and I don’t mind learning Unity.

Before getting stuck into my own code I thought it expedient to try using the setup example and the ML setup options seemed like a good idea.

So any advice you can give will be most welcome.

Cheers

Roy

---

<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:** [May 22, 2024, 2:41pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/9 "2024-05-22T14:41:28Z")

</div>

Note: The MRTK 3 Template project and the Unity Example Project both use OpenXR.

On the mac, have you installed the Magic Leap SDK and the Magic Leap Unity Package through the Magic Leap Hub?

---

<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:** [May 29, 2024, 2:05pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/10 "2024-05-29T14:05:23Z")

</div>

Do you mind providing more information about the issue you are running into?

---

<div class="post-metadata">

**Author:** ![r.s.kalawsky](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@r.s.kalawsky](https://forum.magicleap.cloud/u/r.s.kalawsky)\
**Post date:** [May 29, 2024, 3:15pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/11 "2024-05-29T15:15:29Z")

</div>

Hi

I am away until monday next week

Cheers zroy

Best regards

Roy

---

<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:** [June 12, 2024, 4:32pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/12 "2024-06-12T16:32:34Z")

</div>

Were you able to test the Unity Example Project ?

---

<div class="post-metadata">

**Author:** ![r.s.kalawsky](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@r.s.kalawsky](https://forum.magicleap.cloud/u/r.s.kalawsky)\
**Post date:** [June 13, 2024, 3:27pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/13 "2024-06-13T15:27:14Z")

</div>

Hi sorryy fir delay in reyi g. I did try but it didn’t work and tgen I had to get onto otger tasks. I will retry.

Cheers

Roy

Best regards

Roy

---

<div class="post-metadata">

**Author:** ![r.s.kalawsky](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@r.s.kalawsky](https://forum.magicleap.cloud/u/r.s.kalawsky)\
**Post date:** [June 13, 2024, 6:56pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/14 "2024-06-13T18:56:52Z")

</div>

Hi,

I tried using the examples but this fails because of different versions of the editor and incompatibilities. Nothing seems to work!!!!

Very frustrating to say the least!!

Regards

Roy

---

<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:** [June 13, 2024, 7:23pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/15 "2024-06-13T19:23:12Z")

</div>

What type of incompatibilities are you facing? Does the build fail or does the project fail to open? You should be able to update the example project to the version of the editor that you have installed.

---

<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:** [July 26, 2024, 7:57pm UTC](https://forum.magicleap.cloud/t/installation-of-ml-toole-etc-for-latest-version-of-unity-errors/3540/16 "2024-07-26T19:57:02Z")

</div>


