Log in or register to post comments

Vuforia external camera access driver dll failed to load in unity

September 18, 2020 - 4:33pm #1

I have developed a UWP desktop dll for external camera access using Vuforia SDK. The dll is 64-bit, developed in c/c++. I placed the dll in Assets\Plugins\x64 folder of the unity project. When I am calling VuforiaRuntime.Instance.InitVuforia(), the log console shows the following error...

 

Vuforia Engine initialization failed: INIT_VUFORIA_DRIVER_FAILED

INIT VUFORIA DRIVER FAILED



UnityEngine.Debug:LogError(Object)

DefaultInitializationErrorHandler:SetErrorCode(InitError) (at Library/PackageCache/com.ptc.vuforia.engine@9.4.6/Vuforia/Scripts/DefaultInitializationErrorHandler.cs:166)

DefaultInitializationErrorHandler:OnVuforiaInitializationError(InitError) (at Library/PackageCache/com.ptc.vuforia.engine@9.4.6/Vuforia/Scripts/DefaultInitializationErrorHandler.cs:26)

System.Delegate:DynamicInvoke(Object[])

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])

Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action`1, InitError)

Vuforia.VuforiaRuntime:CheckInitStatus(InitError)

Vuforia.VuforiaRuntime:InitInternal()

Vuforia.VuforiaRuntime:InitVuforia()

CameraLocader:Awake() (at Assets/Scripts/CameraLocader.cs:37)

 

Is the abovedriver dll path correct? I have tested that the dll is loading successfully in other Vuforia SDK samples.

Please help me.

Thanks

Vuforia external camera access driver dll failed to load in unity

September 29, 2020 - 4:46am #2

Hi,

As per the documentation the path should be: Assets/Plugins/WindowsStoreApps/[x64, x86]; link to article: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/file-driver.html

Could you please add it in the above mentioned location?

Thank you.

Vuforia Engine Support

Log in or register to post comments