# Lighship AR for Magic Leap 2 unity setup

**URL:** https://community.nianticspatial.com/t/lighship-ar-for-magic-leap-2-unity-setup/4947
**Category:** I'm Stuck
**Created:** [November 5, 2024, 1:01pm UTC](https://community.nianticspatial.com/t/lighship-ar-for-magic-leap-2-unity-setup/4947 "2024-11-05T13:01:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Habil\_Hussain](https://avatars.discourse-cdn.com/v4/letter/h/eb8c5e/32.png) [@Habil\_Hussain](https://community.nianticspatial.com/u/Habil_Hussain)
#### Post date: [November 5, 2024, 1:01pm UTC](https://community.nianticspatial.com/t/lighship-ar-for-magic-leap-2-unity-setup/4947/1 "2024-11-05T13:01:53Z")

</div>

_Include the following details (edit as applicable):_

- **Issue category** : Lightship for Magic Leap 2
- **Device type & OS version** : Android
- **Host machine & OS version** : Windows
- **Issue Environment** : Unity Editor
- **Xcode version** :
- **ARDK version** :
- **Unity version** : 2022.3.37F1

Description of the issue:  
Hello!

I am trying to set up the lightship ARDK on the Magic Leap 2 and I have received the error  
Library\PackageCache\com.unity.transport@1.4.1\Runtime\IPCManager.cs(79,44): error CS1955: Non-invocable member ‘NativeHashMap\<ushort, int\>.Count’ cannot be used like a method.

Any advice to remove this error ?  
Thanks in advance!

---

<div class="post-metadata">

### Author: ![Jesus\_Niantic](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@Jesus\_Niantic](https://community.nianticspatial.com/u/Jesus_Niantic)
#### Post date: [November 5, 2024, 7:24pm UTC](https://community.nianticspatial.com/t/lighship-ar-for-magic-leap-2-unity-setup/4947/2 "2024-11-05T19:24:14Z")

</div>

Hi Habil,

Thanks for reaching out. This error is caused by importing SharedAR into an ARDK project. SharedAR uses Unity’s Netcode for Gameobjects which requires an updated version of the Unity transport.

You can update the Unity Transport via the Package Manager

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/system/32/13_2.png) [@system](https://community.nianticspatial.com/u/system)
#### Post date: [September 3, 2025, 11:59am UTC](https://community.nianticspatial.com/t/lighship-ar-for-magic-leap-2-unity-setup/4947/3 "2025-09-03T11:59:48Z")

</div>

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