Search Unity

Vuforia failed to initialize...

Discussion in 'AR/VR (XR) Discussion' started by eco_bach, Feb 27, 2017.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    So this seems to be a common error with more than one cause
    http://stackoverflow.com/questions/37950316/vuforia-failed-to-initialize-on-android-l
    https://developer.vuforia.com/forum/qcar-api/failed-initialize-vuforia

    My application runs fine in the editor
    But after deploying to device my application launches but with the Vuforia popup error.
    Am targeting Android on a Samsung TAB S2.
    Latest unity Pro 5.5.1, OpenGLES2.0.

    Can anyone suggest next troubleshooting steps?
    It is definitely NOT the device since Vuforia test apps, and even earlier tests, deployed and ran without issue. Something specific to my Player, Project settings or perhaps some conflict with a 3rd party asset.
     
    Last edited: Feb 27, 2017
  2. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    OP, pretty sure the issue is my Manifest.xml file in Assets>Plugins>Android
     
  3. MrCrumbl3d

    MrCrumbl3d

    Joined:
    May 22, 2016
    Posts:
    3
    Hello, i have the same problem to. But how do you solve it? thanks if you answer
     
  4. koppei

    koppei

    Joined:
    Apr 28, 2017
    Posts:
    1
    try re-login unity account
     
  5. sarahAmini2910

    sarahAmini2910

    Joined:
    Jun 29, 2017
    Posts:
    1
    Did anyone find a solution? I tried re importing packages too, no progress.
     
  6. rachel-slater

    rachel-slater

    Joined:
    Jun 13, 2017
    Posts:
    1
    Under the 'Vuforia' menu in Unity, click 'Configuration', then disable the 'webcam' setting.
     
    MirzaMuhammadAqash and ajantaidc like this.
  7. LocksmithArmy

    LocksmithArmy

    Joined:
    Nov 27, 2017
    Posts:
    10
    To solve this, I deleted the Vuforia folder from my project. Then created an ARCamera game object.
    you will be prompeted to import some required files, say yes.
    Once complete, vuforia should work properly.

    I have noticed this issue occurs when you are debugging while attached to unity and you stop debugging before stopping your play in unity.

    Hope this helps.
     
  8. mhencystarita20

    mhencystarita20

    Joined:
    Oct 19, 2018
    Posts:
    1
    I had this problem, how can i fix it ?



    Vuforia initialization failed

    UnityEngine.Debug:LogError(Object)

    Vuforia.VuforiaRuntime:InitVuforia()

    Vuforia.VuforiaRuntimeInitialization:InitVuforia() (at Assets/Vuforia/Scripts/VuforiaRuntimeInitialization.cs:40)
     
  9. Deleted User

    Deleted User

    Guest

    Remove the AR camera and whichever type of target you have in your scene. Then remove the Vuforia folder in the project tab. Add another AR camera and target into your scene, and say yes when asked whether you want to import the Vuforia folder.
     
  10. sharonj731

    sharonj731

    Joined:
    Jun 10, 2018
    Posts:
    8
    Close and re-open Unity. This cleared it instantly for me. NOTHING else was called for. You'll save yourself a LOT of heartache and a lot of unnecessary work.
     
    abegue likes this.
  11. ming_02

    ming_02

    Joined:
    May 8, 2017
    Posts:
    1
    i have this problem, Close and re-open Unity it works,. oooooooo thats funny