Log in or register to post comments

Database Load Behavoiur option is missing in Inspector (solved)

March 5, 2017 - 9:58pm #1

Hi,

 

I've started Unity a day ago and was implementing - creation of a simple app using unity and vuforia. I did all the procedure of creating, downloading and importing database/Target. But I couldn't find the menu "Database Load Behavoiur" script in inspector of ARCamera, without which I'm unable to select my database in unity. Pl. help. I've attached the screenshot.

 

Edit -

I just found the solution, unlike in previous versions, "Dataset activation" in the new versions are available in "vuforia configuration" which is available as follows

hit ARCamera and check inspector

hit "vuforia configuration" and hit drop down menu "Datasets"

select the options "Load <your target_image name>" and "Activate"

 

and you're done! I've attached the screenshot too

AttachmentSize
Image icon doubt.JPG31.37 KB
Image icon solution.JPG36.07 KB

Database Load Behavoiur option is missing in Inspector (solved)

January 16, 2019 - 10:43am #7

Notice that the “Databases” section no longer contains check boxes in Vuforia Engine 7.1.

Manual Loading

Prior to Vuforia Engine 7.1, some developers may have written code to better control when Databases are loaded and available for Vuforia Engine. In this scenario, developers would leave the databases unloaded in the Vuforia Configuration Panel and would explicitly load databases via code (Dataset.Load) at the appropriate time. Developers that employ this type of manual loading need to be aware that Targets will automatically load their respective databases in Vuforia Engine 7.1 regardless of what the previous state of the Databases was in the Vuforia Configuration Panel prior to Vuforia Engine 7.1.

In order to manually load Databases in Vuforia Engine 7.1, developers must make sure that their individual Vuforia Target behaviours or the attached GameObjects are disabled within the Unity editor. If a Vuforia Behaviour is active during the loading of a Scene, then its database will be loaded.

Recommended Migration

If you have written code to only load the appropriate database for the targets that are used in a particular scene, the new functionality can be used in place of this type of manual loading. 

If your project loads Databases via code and you don’t want to make use of automatic database loading, go through your entire project and for every Target Behaviour in your project, disable the Target Behaviour component. For instance, if your project uses Image Targets, find all the instances of the Image Target Behaviour component and disable them.

Next, find the appropriate line of code which loads databases and, just before that code, enable the behavior by using (or some derivation):

ImageTargetBehaviour imageTarget = GetComponent<ImageTargetBehaviour>();

imageTarget.enabled = true;


//Load and Activate the Database here

 

AttachmentSize
Image icon Vuforia Engine 7.026.11 KB
Image icon Vuforia Engine 7.184.54 KB

Database Load Behavoiur option is missing in Inspector (solved)

July 4, 2018 - 8:32am #6

I dont get it. I only got this message under datasets

Database Load Behavoiur option is missing in Inspector (solved)

June 18, 2018 - 11:12pm #5

Hello Guys,

 

I am unable to load the vuforia database I am working on Unity 2018.1.5f1

I have attached the image of the vuforia configuration settings.

 

Thank you,

Raviraj.

Database Load Behavoiur option is missing in Inspector (solved)

January 8, 2018 - 1:16pm #4

Hello,

 

I follow your suggestion but I have a little problem with Database Load Behavior.

I couldn't find the menu "DataSet" inspector of ARCamera. So I need you help me please.

I've attached the screenshot.

 

AttachmentSize
Image icon Capture.JPG34.73 KB

Database Load Behavoiur option is missing in Inspector (solved)

July 5, 2017 - 11:33am #3

That's what I was looking for :)

Thank you!

Database Load Behavoiur option is missing in Inspector (solved)

March 6, 2017 - 4:16am #2

Hello,

I have same situations. I saw your solutions but it's doesn't work on my project. I couldn't find the menu "Database Load Behavoiur" script in inspector of ARCamera. I've attached the screenshot.

Thanks for help

 

AttachmentSize
Image icon ss1212.06 KB
Image icon ss2230.81 KB
Log in or register to post comments