# MagicLeapSDKUtil.cs BuildTarget' does not contain a definition for 'Relish unity 2021.3.11f1

**URL:** <https://forum.magicleap.cloud/t/magicleapsdkutil-cs-buildtarget-does-not-contain-a-definition-for-relish-unity-2021-3-11f1/1074>\
**Category:** Unity Development\
**Tags:** unity\
**Created:** [October 11, 2022, 6:18pm UTC](https://forum.magicleap.cloud/t/magicleapsdkutil-cs-buildtarget-does-not-contain-a-definition-for-relish-unity-2021-3-11f1/1074 "2022-10-11T18:18:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juan.suero.robotics](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@juan.suero.robotics](https://forum.magicleap.cloud/u/juan.suero.robotics)\
**Post date:** [October 11, 2022, 6:18pm UTC](https://forum.magicleap.cloud/t/magicleapsdkutil-cs-buildtarget-does-not-contain-a-definition-for-relish-unity-2021-3-11f1/1074/1 "2022-10-11T18:18:13Z")

</div>

just bought magic leap 2 and following the directions on the site i import the package  
C:\Users\meta\MagicLeap\tools\unity\v0.53.3\com.magicleap.unitysdk

and then i get the error  
C:\Users\meta\MagicLeap\tools\unity\v0.53.3\com.magicleap.unitysdk\Editor\MagicLeapSDKUtil.cs(24,74): error CS0117: 'BuildTarget' does not contain a definition for 'Relish'

also i cannot continue the steps because in unity preferences i do not see  
External Tools \> Magic Leap

unity 2021.3.11f1

**Unity Editor version** :  
**ML2 OS version** :  
**MLSDK version** :  
**Host OS** : (Windows/MacOS)

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

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [October 11, 2022, 6:18pm UTC](https://forum.magicleap.cloud/t/magicleapsdkutil-cs-buildtarget-does-not-contain-a-definition-for-relish-unity-2021-3-11f1/1074/2 "2022-10-11T18:18:59Z")

</div>

Hi @juan.suero.robotics ,

You need to be using Unity editor version 2022.2.0b4 or higher, only the beta versions currently support the Magic Leap 2 SDK.

---

<div class="post-metadata">

**Author:** ![juan.suero.robotics](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@juan.suero.robotics](https://forum.magicleap.cloud/u/juan.suero.robotics)\
**Post date:** [October 17, 2022, 5:19am UTC](https://forum.magicleap.cloud/t/magicleapsdkutil-cs-buildtarget-does-not-contain-a-definition-for-relish-unity-2021-3-11f1/1074/3 "2022-10-17T05:19:12Z")

</div>

yes thank you i did do that and it worked

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [October 19, 2022, 4:34pm UTC](https://forum.magicleap.cloud/t/magicleapsdkutil-cs-buildtarget-does-not-contain-a-definition-for-relish-unity-2021-3-11f1/1074/4 "2022-10-19T16:34:29Z")

</div>


