Log in or register to post comments

Getting error message "Failed to load Dataset"

September 13, 2018 - 1:25am #1

Im trying to load dataset with an example project from vuforia

- On  Windows platform it work well

- On Mac platform its not work.

 

I tried reimport dataset and its not work

I tried add the script to load Database when vuforia init success

all this i found from google

https://stackoverflow.com/questions/33214109/vuforia-dataset-exists-but-fails-to-load-on-ios-devices?answertab=active#tab-top

Quote:

 

**** Problem on Model Target, on Image Target is work well

 

public class LoadDatabase : MonoBehaviour {

    public VuforiaBehaviour vuforial;

    private void Awake()

    {

        // DatabaseLoadARController.Instance.AddExternalDatasetSearchDir(Application.dataPath + "/Raw/QCAR/");

        //vuforial.enabled = true;

        //GameObject.Find("ARCamera").GetComponent<VuforiaBehaviour>().AddExternalDatasetSearchDir(Application.dataPath + "/Raw/QCAR/");

    }

    private void Start()

    {

        vuforial.enabled = true;

        VuforiaRuntime.Instance.InitVuforia();

        VuforiaARController.Instance.RegisterVuforiaInitializedCallback(HandleAction);

        //print("Path " + Application.dataPath);

        //DatabaseLoadARController.Instance.AddExternalDatasetSearchDir(Application.dataPath + "/StreamingAssets/Vuforia/");

    }

    void HandleAction()

    {

        print("HandleAction");

        print("Path " + Application.dataPath);

        DatabaseLoadARController.Instance.AddExternalDatasetSearchDir(Application.dataPath + "/StreamingAssets/Vuforia/");

    }

}

 

I do not know to do it, Is it bug from Vuforia on mac platform?

 

Unity : 2018.2.6f1

Vuforia : 7.2.23

Mac : 10.13.6 Hig Sierra

 

AttachmentSize
Image icon ErrorMessage.png687.05 KB
Image icon Code.png284.46 KB

Getting error message "Failed to load Dataset"

October 31, 2018 - 1:40am #8

Greetings from the future. 

Were you able to solve this? I have the same issue where dataset fails to load on mac but works ok on Windows. I even tried completely removing Unity from my system (including manually deleting Library files) and it did not help.

 

LATER EDIT: Though I am unable to solve this, my end-goal was iOS and, even though I still can't run it on the mac, I was able to use the mac to build for iOS where it ran successfully. 

Getting error message "Failed to load Dataset"

September 18, 2018 - 7:37pm #7

An1 can help me fix this issue?, im stuck and cant continue develop 

Getting error message "Failed to load Dataset"

September 17, 2018 - 8:46pm #6

Strasza wrote:

Hello,

Could you test the Core Samples' Model Target scene which loads this same dataset and let me know if you get the same issue?

Thanks,

Vuforia Engine Support

 

I just load Core Samples from Asset and tried load Model Target in "3-ModelTargets scene" still get same issue.

 

Getting error message "Failed to load Dataset"

September 17, 2018 - 10:23am #5

Hello,

Could you test the Core Samples' Model Target scene which loads this same dataset and let me know if you get the same issue?

Thanks,

Vuforia Engine Support

Getting error message "Failed to load Dataset"

September 16, 2018 - 11:52pm #4

Any1 help me fix this please... this happen on Mac Os only? 

Getting error message "Failed to load Dataset"

September 16, 2018 - 8:30pm #3

Hi Strasza,

 

1. What kind of dataset are you trying to load?

 - Model Target, i use example to load VuforiaMars_ModelTarget, and get the error.

 

2. what license type do you have in the project

- Develop Type (FREE LICENSE)

 

 

Any suggestion for this issue i still can not fix this problem, Unity on mac can not load Model Target.

 

Thank you

Getting error message "Failed to load Dataset"

September 14, 2018 - 10:54am #2

Hello villadiegotheeyes,

What kind of dataset are you trying to load and what license type do you have in the project?

Thanks,

Vuforia Engine Support

Log in or register to post comments