Search Unity

Dataset doesn't load with Android Split Application Binary

Discussion in 'Vuforia' started by Ludomade, Nov 2, 2017.

  1. Ludomade

    Ludomade

    Joined:
    Nov 11, 2014
    Posts:
    11
  2. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    It is known that Vuforia is unable to load Datasets directly from the split binary. That post you linked describes how to pull the data to the correct location to be able to load the Dataset.

    Is the solution described in that post not working for you with Unity 2017.2?
     
  3. Ludomade

    Ludomade

    Joined:
    Nov 11, 2014
    Posts:
    11
    Currently testing. Looks like paths were changed in the native integration. "QCAR" folder was renamed to "Vuforia".

    Unsure about loading the Datasets manually though, is this step necessary after extracting the files from the OBB?

    We're using VUMarks only. Is the following code valid/necessary for VUMarks?

    Code (CSharp):
    1. ImageTracker it = TrackerManager.Instance.GetTracker<ImageTracker>();
    2. DataSet dataSet = it.CreateDataSet();
    3. dataSet.Load ("Vuforia/data.xml", DataSet.StorageType.STORAGE_ABSOLUTE);
    4. it.ActivateDataSet(dataSet);
     
    Last edited: Nov 2, 2017
  4. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    You won't need to run that code if you have the VuMark DataSet loaded and activated in the Vuforia Configuration. Make sure you are running the code to extract from the OBB before Vuforia is initialized.
     
  5. Ludomade

    Ludomade

    Joined:
    Nov 11, 2014
    Posts:
    11
    Thanks, with the path name changes it's working again :)
     
    Vuforia-Strasza likes this.
  6. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    Glad to hear it :)