Search code examples
unity-game-engineaugmented-realityvuforia

QCAR initialization failed : unity 3d


I'm working on an augmented reality project with Unity 3d using Vuforia

I included ARcamera in addition imageTargit

Then I added 3D-Model to imageTarget

when I run the program it shows the following error:

enter image description here


Solution

  • I've been trying for a long time to solve this issue, and this worked for me. Across the Vuforia support forum I´ve read that in older versions of Vuforia this issue did not happen, that's because in that versions the ARCamera prefab was just one object, in other words, it had no childs. The Vuforia 4 ARCamera prefab has a child, and I noted that those objects has attached one script called QCarBehaviour. The solution is just to disable the script in the child of the ARCamera prefab. In that way, QCar just initialize once and all works fine.

    Sorry for my bad english lol. Hope it helped you :)