Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Vuforia & Unity database load problem

Discussion in 'Vuforia' started by Arkadiy_S, May 11, 2018.

  1. Kingsburry

    Kingsburry

    Joined:
    Jun 15, 2018
    Posts:
    16
    @aminaabidi353 I'm having the same issue too with that version. Anyone know why this is causing us issues??
     
  2. Laralessandra

    Laralessandra

    Joined:
    May 14, 2019
    Posts:
    4

    Hi!

    I've the same problem with Unity 2019.1.4.f1 and Vuforia 8.1.11.
    I already made a image target and tested it 2 or 3 times successfully before the error message occured.

    Now no database can be found and also in my image target there occures the EMPY message.

    Haven't tried to edit the xml file yet with change of "." and ",". I'm using German language.

    Can you help me out? See the fotos.
    Greetings
     

    Attached Files:

  3. Laralessandra

    Laralessandra

    Joined:
    May 14, 2019
    Posts:
    4
    as you can read above you dont have to tick it. thats an information. you had to tick it in previous versions
     
  4. meedabit

    meedabit

    Official Vuforia Employee Vuforia

    Joined:
    Dec 8, 2016
    Posts:
    253
    Hello @Laralessandra,

    This is symptomatic of not importing a Vuforia Engine device database via the Unity Editor: Assets->Import Package->Custom Package... If you want the device database to appear in the inspector, you need to import the .unitypackage file downloaded from the Target Manager by this mechanism.

    Thanks,
    Vuforia Engine Support
     
  5. VotrePseudo

    VotrePseudo

    Joined:
    Jun 17, 2019
    Posts:
    4
    Hello @meedabit

    I have 2 problems and I don't know if they are related:
    • the first one is about the trackable not found in Dataset while the database is there (image1 and image2) but I am still able to detect the bike and get my AR experience.
    • [SOLVED] the second one occurs at the end of my AR experience, when I go back to the menu (in another scene), I sometimes get the errors from image3 (but not always). I noticed that when I check the
       trackableBehaviours
      just after using the
      ReassociateBehaviour()
      , I have the result from image4 (while my database should just be the modeltarget) and it become result from image5 when I leave the scene.
    I am using Unity 2019.1.6f1 and Vuforia 8.1.11. Do you know if they are related and what can I do to resolve these problems? (EDIT: answer to first question is no)

    Thank you in advance

    EDIT: I found the solution for the second error: I call the function where I use
    DestroyTrackableBehaviourForTrackable
    when I hit the button to leave the scene instead of calling it in
    onDestroy()
    (to make sure it is the first function called) and it works. But I still have the first error and, even if it is not a blocking one, if you know what I can do to correct it, I would be thankful.
     

    Attached Files:

    Last edited: Jun 18, 2019
  6. meedabit

    meedabit

    Official Vuforia Employee Vuforia

    Joined:
    Dec 8, 2016
    Posts:
    253
    Hello @VotrePseudo,

    Is there still a lingering question? I'm not clear on if you've self-resolved your questions.

    Thanks,
    Vuforia Engine Support
     
  7. VotrePseudo

    VotrePseudo

    Joined:
    Jun 17, 2019
    Posts:
    4
    Hello @meedabit,

    Thank you for your reply.
    I still have the error "could not associate dataset" but it is not a blocking one (my app still run even with the error) so if you know what causes this kind of problem, I am interested in knowing what to do to solve it but it is more of a luxury than something I really need
     
  8. meedabit

    meedabit

    Official Vuforia Employee Vuforia

    Joined:
    Dec 8, 2016
    Posts:
    253
    Hello @VotrePseudo,

    Unfortunately, I don't have any good suggestions for resolving this last error other than grepping your project's *.cs files to see if there is a stale reference to this target lying around somewhere.

    Thanks,
    Vuforia Engine Support
     
  9. VotrePseudo

    VotrePseudo

    Joined:
    Jun 17, 2019
    Posts:
    4
    Hello @meedabit,

    Ok, thank you for your answers and your time. I'll look into it.
     
    meedabit likes this.
  10. BeardBadshah

    BeardBadshah

    Joined:
    Sep 22, 2018
    Posts:
    3
    thank you the perfect answer i am finding