Unity failed to load Vuforia library

Asked

Viewed 189 times

2

Guys, I have a problem with Unity 5 and Vuforia 4. I’m trying to run the example I found here.

Every time I try to run the test it throws the following errors:

Error 1:

Failed to load 'Assets/Plugins/QCARWrapper.dll', expected 64 bit architecture (IMAGE_FILE_MACHINE_AMD64), but was IMAGE_FILE_MACHINE_I386.
Vuforia.WebCamAbstractBehaviour:IsWebCamUsed()
Vuforia.WebCamAbstractBehaviour:IsWebCamUsed()
Vuforia.VuforiaRuntimeUtilities:IsVuforiaEnabled()
Vuforia.TurnOffBehaviour:Awake() (at Assets/Vuforia/Scripts/TurnOffBehaviour.cs:21)

Error 2:

Failed to load 'Assets/Plugins/QCARWrapper.dll', expected 64 bit architecture (IMAGE_FILE_MACHINE_AMD64), but was IMAGE_FILE_MACHINE_I386.
Vuforia.WebCamAbstractBehaviour:CheckNativePluginSupport()
Vuforia.WebCamAbstractBehaviour:CheckNativePluginSupport()
Vuforia.WebCamAbstractBehaviour:IsWebCamUsed()
Vuforia.VuforiaRuntimeUtilities:IsVuforiaEnabled()
Vuforia.TurnOffBehaviour:Awake() (at Assets/Vuforia/Scripts/TurnOffBehaviour.cs:21)

Can anyone give me a light? Grateful.

1 answer

2


"expected 64 bit Architecture"

I had the same problem trying with Unity in 64-bit version. Apparently there is a conflict (32x64 bits).

Also, about the recommended and compatible versions. According to the Vuforia website:

"Note: Vuforia 5 is compatible with the following: Unity versions 5.1.3p1 and 4.6.7.
Unity 5.1.3p1 resolves performance issues Experienced with earlier 5.x releases"

So I suggest you install:

  • The version 5.1.3p1 of Unity (32 bits) - Access Here
  • In conjunction with the latest and most stable version of the SDK - Access Here

It is a very recurrent error according to the forum and these two versions work perfectly here after a lot of headache.

Good luck!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.