# DllNotFoundException and no active ARsubsystem

**URL:** <https://community.nianticspatial.com/t/dllnotfoundexception-and-no-active-arsubsystem/3871>\
**Category:** Bug Reports\
**Created:** [September 24, 2023, 7:40am UTC](https://community.nianticspatial.com/t/dllnotfoundexception-and-no-active-arsubsystem/3871 "2023-09-24T07:40:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alan1](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@alan1](https://community.nianticspatial.com/u/alan1)\
**Post date:** [September 24, 2023, 7:40am UTC](https://community.nianticspatial.com/t/dllnotfoundexception-and-no-active-arsubsystem/3871/1 "2023-09-24T07:40:34Z")

</div>

This is Alan Shawn. Here is my problem.

_Include the following details while filing a bug report (edit as applicable):_

- **Issue category** : Unity XCode
- **Device type & OS version** : Android
- **Host machine & OS version** : windows
- **Issue Environment** : unity editor
- **ARDK version** : 3 beta 4
- **Unity version** : 2021.3.29f1c1  
The ARDK 3 Beta4 has been installed from tarball as the Lightship DOCs suggests. I created a simple scene with AR Session and XR Origin. After running the game, here are the major issues poping out.

1. DllNotFoundException: LightshipARDK assembly: type: member:(null)
2. No active UnityEngine.XR.ARSubsystems.XRSessionSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.  
UnityEngine.XR.ARFoundation.ARSession:OnEnable () (at Library/PackageCache/com.unity.xr.arfoundation@5.0.7/Runtime/ARFoundation/ARSession.cs:342)
3. No active UnityEngine.XR.ARSubsystems.XRCameraSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.  
UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3\<UnityEngine.XR.ARSubsystems.XRCameraSubsystem, UnityEngine.XR.ARSubsystems.XRCameraSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRCameraSubsystem/Provider\>:OnEnable () (at Library/PackageCache/com.unity.xr.arfoundation@5.0.7/Runtime/ARFoundation/SubsystemLifecycleManager.cs:68)  
4.No active UnityEngine.XR.XRInputSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.  
UnityEngine.XR.ARFoundation.ARInputManager:OnEnable () (at Library/PackageCache/com.unity.xr.arfoundation@5.0.7/Runtime/ARFoundation/ARInputManager.cs:24)

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [September 25, 2023, 7:22pm UTC](https://community.nianticspatial.com/t/dllnotfoundexception-and-no-active-arsubsystem/3871/2 "2023-09-25T19:22:30Z")

</div>

Hi Alan,

Unfortunately, Lightship 3.x doesn’t support in-editor testing on Windows yet. For the time being, you’ll have to deploy to your Android device and use something like logcat or Android Studio to get the output. If you’re curious about the cause of the “No active…” errors, please take a look at this Unity support thread for more information: [http://forum.unity.com/threads/no-active-unityengine-xr-arsubsystems-xrsessionsubsystem-is-available.1409694/](http://forum.unity.com/threads/no-active-unityengine-xr-arsubsystems-xrsessionsubsystem-is-available.1409694/).

Kind Regards,  
Maverick L.

---

<div class="post-metadata">

**Author:** ![alan1](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@alan1](https://community.nianticspatial.com/u/alan1)\
**Post date:** [September 26, 2023, 7:52am UTC](https://community.nianticspatial.com/t/dllnotfoundexception-and-no-active-arsubsystem/3871/3 "2023-09-26T07:52:03Z")

</div>

Hi Maverick,  
Many thanks for your kind help. I have shifted to a Macbook for the Playback function. In the case of macOS, does this No active… stuff matter for my further development on ARDK?

Thank you.

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [September 26, 2023, 5:09pm UTC](https://community.nianticspatial.com/t/dllnotfoundexception-and-no-active-arsubsystem/3871/4 "2023-09-26T17:09:55Z")

</div>

You’re very welcome! On Mac you can install the XR Simulation plugin mentioned in that Unity Support thread and you shouldn’t experience any of those “No active…” errors anymore. Make sure that you have the checkbox labeled “Initialize XR on Startup” ticked in Player settings as well.

Best,  
Maverick L.

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [March 5, 2026, 11:46pm UTC](https://community.nianticspatial.com/t/dllnotfoundexception-and-no-active-arsubsystem/3871/5 "2026-03-05T23:46:47Z")

</div>

Age
