QCAR Unity Extension DLL Error for QCARUnityPlayer

I’m getting the following error when attempting to run the ImageTarget teapot sample in the editor…

DllNotFoundException: QCARUnityPlayer
at (wrapper managed-to-native) TrackerScript:updateQCAR (intptr,int)

at TrackerScript.LateUpdate () [0x00000] in [LOCAL PATH]\Qualcomm Augmented Reality\Scripts\TrackerScript.cs:200

(Filename: Assets/Qualcomm Augmented Reality/Scripts/TrackerScript.cs Line: 200)


Here’s the relevant code section…

// updateQCAR loads the latest camera image to texture memory
// and retrieves the current trackable if one is visible
if (updateQCAR(m_TrackablePtr, m_NumAvailableTrackables) == 0)
{
// Use to turn off target as soon as detection is lost
if (m_PoseType == PoseType.Camera)
camera.transform.localPosition = m_CamOutOfScenePosition;
return;
}

Otherwise the sample builds fine and runs on my N1 device. It’s when I attempt to run it in-editor that I encounter this error. I haven’t found a QCARUnityPlayer.dll on my system.

Any advice?

That’s because QC didn’t provide a native library for Windows (or Mac); only for Android. Until they do it won’t be possible to call ‘updateQCAR()’ from any platform but Android.

Good to know - thanks