Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity3d - Failed to load 'Assets/Plugins/QCARWrapper.dll'

I want to use c++ dll on unity android application. To use native dll on a android device, I learn that I should use Unity 5. I download unity5 from here. My application requires vuforia. So I download vuforia package from here.

Unity 5 is 64 bit.

On unity editor, I delete MainCamera and add ARCamera. There is an error message on unity console. The message is below :

Failed to load 'Assets/Plugins/QCARWrapper.dll', expected 64 bit architecture (IMAGE_FILE_MACHINE_AMD64), but was IMAGE_FILE_MACHINE_I386.
Vuforia.WebCamAbstractBehaviour:CheckNativePluginSupport()

There is a solution for this problem on vuforia forum. But I don't find unity editor(32 bit)

like image 500
zakjma Avatar asked May 08 '15 08:05

zakjma


1 Answers

To use Vuforia with Unity 64 bit, just move the QCARWrapper DLLs from /Plugins to /Plugins/x86. These are the DLLs:

  • QCARWrapper.exp
  • QCARWrapper.lib
  • QCARWrapper.dll
  • QCARWrapper.dll.signature

This should solve the problem!

like image 57
Balbuzar Avatar answered Nov 03 '22 02:11

Balbuzar