DLLNotFoundException when trying to playback a recording

  • Issue category: Scanning Framework
  • Device type & OS version: Android
  • Host machine & OS version: Windows
  • Issue Environment : Unity Mock
  • ARDK version: 3.0
  • Unity version: 2021 LTS

I recorded a chunk and then extracted it in the Assets/StreamingAssets folder.

Also did all the steps here: How to Setup Playback | Niantic Lightship

When pressing Play in the Editor, I get the following error:

DllNotFoundException: LightshipARDK assembly:<unknown assembly> type:<unknown type> member:(null)
Niantic.Lightship.AR.LightshipUnityContext.Initialize (Niantic.Lightship.AR.Loader.LightshipSettings settings, System.Boolean isDeviceLidarSupported, System.Boolean isTest) (at Library/PackageCache/com.nianticlabs.lightship@fd284c60d0/Runtime/AppContext/LightshipUnityContext.cs:70)
Niantic.Lightship.AR.Loader.NativeLoaderHelper.Initialize (UnityEngine.XR.Management.XRLoaderHelper loader, Niantic.Lightship.AR.Loader.LightshipSettings settings, System.Boolean isLidarSupported, System.Boolean isTest) (at Library/PackageCache/com.nianticlabs.lightship@fd284c60d0/Runtime/Loader/NativeLoaderHelper.cs:23)
Niantic.Lightship.AR.Loader.LightshipStandaloneLoader.Niantic.Lightship.AR.Loader.ILightshipLoader.InitializeWithSettings (Niantic.Lightship.AR.Loader.LightshipSettings settings, System.Boolean isTest) (at Library/PackageCache/com.nianticlabs.lightship@fd284c60d0/Runtime/Loader/LightshipStandaloneLoader.cs:58)
Niantic.Lightship.AR.Loader.LightshipStandaloneLoader.Initialize () (at Library/PackageCache/com.nianticlabs.lightship@fd284c60d0/Runtime/Loader/LightshipStandaloneLoader.cs:37)
UnityEngine.XR.Management.XRManagerSettings.InitializeLoaderSync () (at Library/PackageCache/com.unity.xr.management@4.2.0/Runtime/XRManagerSettings.cs:190)
UnityEngine.XR.Management.XRGeneralSettings.InitXRSDK () (at Library/PackageCache/com.unity.xr.management@4.2.0/Runtime/XRGeneralSettings.cs:175)
UnityEngine.XR.Management.XRGeneralSettings.AttemptInitializeXRSDKOnLoad () (at Library/PackageCache/com.unity.xr.management@4.2.0/Runtime/XRGeneralSettings.cs:148)

Hi Manos,

Are you able to run samples of ARDK 3? If not, that would point to an issue with the installation of the development kit. Did you install via Git URL or by downloading the package and pointing the Package Manager to it?

Kind Regards,
Maverick L.

Hi Maverick,

I added the package (ARDK 3.0) from git URL and then downloaded the samples from github.
Package seems to be the latest and installed correctly:


Also, as I said, the Recording sample works as expected, so, yes, the Samples are running ok.

Hi Manos,

Thank you for your patience. I was informed that – unfortunately – playback in Lightship 3.x on Windows is not supported at this time.

Kind Regards,
Maverick L.

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