UNITY / VUFORIA - AR NOT WORKING

I upgraded to UNITY 2018.2.2f1 as well as VUFORIA 7.2.24 and since then I cannot get any AR to work. I was successful with the previous versions of Unity and Vuforia. I have a simple letter “Z” target image with a Trump low poly model. I have created and inserted a Vuforia license key with the associated “Z” target manager database. I followed the identical steps that I did for my previous AR project using this tutorial (

). I noticed the automatically loaded databases change that Vuforia has implemented. I have my database loaded and Image target activated and loaded under the ImageTarget Inspector options. Previously I was able to test using my webcam BUT this time nothing happens when I try test using the Webcam. I also did a “Build & Run” onto my android device and that too didn’t work. I’m really at a loss.


…or if someone has an updated tutorial for the new Unity and New Vuforia, that might help as well.

My step-by-step methodology:-

  1. Open Unity - start new project
  2. Delete main camera
  3. Create Vuforia AR camera
  4. Create Vuforia Image Target
  5. Go to File/Build Settings - switch platform to android and setup android settings. Also tick on Vuforia under XR settings
  6. Login to Vuforia online - create Development key
  7. In Unity - select AR Camera and open Vurofia configuration settings and copy and paste development key from Vuforia website
  8. back to Vuforia website - Create Target and upload target image. Download the package into Unity.
  9. in Unity - select ImageTarget. Check that the correct database is selected and that the image target is selected.
  10. Drag whatever mesh is being used onto the ImageTarget as a child.
  11. PREVIOUSLY - I was able to click play and hold my printed image target in front of my webcam and see the mesh in AR on my PC screen. This doesn’t happen anymore. Building to android device also doesn’t work.

Is there something new I’m suppose to check / switch on or off?

Hello @unity_4x5Fh6ewd-m_8A ,

Thanks for the report. I attempted to replicate the issue as follows:

  • Downloaded Unity 2018.2.2f1

  • Enabled Vuforia in XR settings

  • Upgraded to Vuforia 7.2.24 via installer

  • Imported Vuforia Core Samples from the Asset Store

  • Placed “3-ImageTargets” scene in the heirarchy - deleted all other scenes

  • Verified “Fissure” target can be detected in PlayMode

  • Inserted Developer License in ARCamera Inspector

  • Created new device database on Vuforia Developer Portal

  • Imported device database into Unity Editor

  • Updated “ImageTarget_Astronaut” prefab with newly imported database

  • Verified that new target could be detected in PlayMode

  • Deleted all other scenes from build (except 3-ImageTargets)

  • Build and deployed to device

  • Verified that new target could be detected on device

Basically, I was not able to find any issue with the above workflow.

I followed this up by following your workflow (more of less, just not in the same exact order) and also was not able to see any issue. I was able to run in PlayMode and detect the new target.

A few things to try:

  • Use a better target, something other than the letter “Z”? We don’t recommend using printed characters as 2D planar targets

  • Check your clipping plane settings in the ARCamera inspector. Mine is set to Near=0.05, Far=2000

Thanks,
Vuforia Support

Thank you so much. I only had a chance now to go through your workflow and can confirm that all of the above works for me as well. So I guess I have a specific problem with my project. >< Oh, debugging is just not fun!! Thanks again

All works fine for me until i integrate with google cardboard, i get black screen, I tried to do those steps with previous versions, AR with google cardboard works well on Unity Play Mode, but on device, the image is not recognized, what should i do ?

More specific, unity 2017.2 with vuforia package not working on android, but on unity 2018.2, i have blackscreen when adding google cardboard on unity and on android … Please help

I’m having a similar problem here. But works on editor mode with the webcam, but doesn’t work on the android device…

1 Like

Same for me. Works great on the editor but nothing on the android device. What has changed?!? I updated the vuforia package and also updated to the latest version of unity. I also added another target and since then nothing has worked correctly. I’m planning to launch my app in 4 days! Can anybody help please?

Having the same issue…even when I create a MAC desktop standalone build…black screen!!!..fine in editor.

Did anyone ever find a solution to this?

Did anyone find a solution to this?

The same problem here, please can you help?

I have the same issue right now - vuforia recognition working in Unity/ Play mode, but not on android.

I have same problem, works fine in unity, not in android device

Have the same. Waiting for answer

I have same problem

same problem here…

I am also stuck very annoying

Has anyone found a solution for this yet?

Its such a shame. I think because there is no longer any official support for Vuforia natively everyone who can help has stopped caring. I am a total noob to Unity and trying to get my head around everything. Vuforia is the friendliest and most accessible system of tools to work with for me atm. It’s a shame it doesn’t work properly. Just doing some simple tests before I properly assemble something. I have that classic problem of the web cam and external cams not being recognized in my player window (which seems like it was a problem in early iterations too.) Don’t know if the apk supports both 32 and 64 bit on Mac and PC yet. Apparently that was thw culprit back in the day. I am running Unity 2020.1.6f1 on a Macbook Pro (early 2011 so no Metal. Not even sure if I am on a 64 or 32 bit version of Unity) I also have installed the latest apk from Vuforia that I downloaded directly from the site. I updated the webcamprofile script to include any additional webcams. Sadly to no avail.
I managed to export an apk build file to use on my android galaxy s10e. And that does work. I’m sure I could set up basic interface functions to add cameras lights and filters and such. And light the model in the scene better. But the round trips for edits with no access to my webcam in the Player window is tough. As far as the result my real-world target_object was well lit and had a good rating on Vuforia’s database but the stability was super choppy.
I really should invest time in AR core and MagicLeaps Lumin sdk as they are natively supported and look phenomenal with their capabilities but the learning curve is a bit daunting. I’ve tried a few times but I’m not there yet. I just want to do some basic AR initially like what Vuforias tools allow.
Anyway sorry for the rant.

Long story short… Help?? Probably not but I still have my fingers crossed.