Log in or register to post comments

Dataset exists but fails to load and activate

April 19, 2015 - 8:25pm #1

Hello all,

I have a project that runs great in Unity and tracks all my image targets via webcam. The problem arises when publishing for my iPad. I bring the project into Xcode, add the security framework then have to re link my library search paths ( iOS plugins comes in funny ) and build. It goes on the iPad but won't recognize images. Wheni search the debugger it says 

"dataset exists

dataset ________ could not be loaded and cannot be activated."

I have tried re downloading my database from the target manager and that didn't work.  And before anyone says it my dataset is loaded and activated inside Unity.

 

thank you in advance!

 

Dataset exists but fails to load and activate

September 16, 2016 - 4:43am #26

is there a similar solution for UNITY_WSA devices?

 

Dataset exists but fails to load and activate

May 25, 2016 - 10:21pm #25

I think they're referring to DataSetLoadBehaviour.cs

Dataset exists but fails to load and activate

April 18, 2016 - 3:39am #24

juliusstopforth wrote:

What worked for me was that I manually added the following compiler directive to the ARCamera's LoadDatabaseBehaviour script under the AddOSSpecificExternalDatasetSearchDirs function:

#if UNITY_IOS

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

#endif

 

This is an iOS specific fix that explicitly points to the Streaming Assets folder in the iOS build itself.

My versions & info:

Unity version: 5.3.0f4

Vuforia version: 5.0.6

OSX version: 10.11.2 (El Capitan)

Xcode version: 7.2 (7C68)

iOS device: iPad mini 3

iOS version: 9.1

 

Hi, your answer looks great but I can't find the script you're referring to.

I don't have a script on my ARCamera called LoadDatabaseBehaviour, I only have: 

  • QCARBehaviour
  • DefaultInitializationErrorHandler
  • DataSetLoadBehaviour
  • SmartTerrainTrackerBehaviour
  • WebCamBehaviour
  • KeepAliveBehaviour
  • VideoTextureRenderer

Can you please help? Many Thanks

Dataset exists but fails to load and activate

December 22, 2015 - 5:04am #23

What is the solve?

Dataset exists but fails to load and activate

December 17, 2015 - 12:26am #22

My project came from Windows and with this, it is working correctly now.

Dataset exists but fails to load and activate

December 16, 2015 - 3:49pm #21

haven't checked that case, I had dataset issue after updating Unity on OSX 

Dataset exists but fails to load and activate

December 16, 2015 - 1:56am #20

pzmudzinski wrote:

that worked out for me! thanks 

 

It works even if the compilation has been done before on windows?

Dataset exists but fails to load and activate

December 15, 2015 - 1:24pm #19

that worked out for me! thanks 

Dataset exists but fails to load and activate

December 15, 2015 - 1:24pm #18

that worked out for me! thanks 

Dataset exists but fails to load and activate

December 15, 2015 - 5:17am #17

What worked for me was that I manually added the following compiler directive to the ARCamera's LoadDatabaseBehaviour script under the AddOSSpecificExternalDatasetSearchDirs function:

#if UNITY_IOS

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

#endif

 

This is an iOS specific fix that explicitly points to the Streaming Assets folder in the iOS build itself.

My versions & info:

Unity version: 5.3.0f4

Vuforia version: 5.0.6

OSX version: 10.11.2 (El Capitan)

Xcode version: 7.2 (7C68)

iOS device: iPad mini 3

iOS version: 9.1

Dataset exists but fails to load and activate

November 27, 2015 - 11:42am #16

EditionsMargot wrote:

Hello,

Yes, the last ImageTargets sample app works on my iPad, so I tried to compare my project folder with the sample folder and noticed that the file PostProcessBuildPlayer was missing in my project... -_-"

After copying this python script in my Editor folder, it now works perfectly !

 

Does it help for anyone else? I have this script in Editor folder, but no result

Dataset exists but fails to load and activate

October 9, 2015 - 4:30am #15

Hello,

Yes, the last ImageTargets sample app works on my iPad, so I tried to compare my project folder with the sample folder and noticed that the file PostProcessBuildPlayer was missing in my project... -_-"

After copying this python script in my Editor folder, it now works perfectly !

Dataset exists but fails to load and activate

October 8, 2015 - 8:49pm #14

EditionsMargot wrote:

Hi, I actually have the same issue in our iOS build (Development and Production):

dataSetExists
dataSetExists
Dataset DBTestV1 could not be loaded and cannot be activated.

I tried different names for the DataSet (db_test_v1, db-test-v1, DBTestV1), but the problem is still here, on any iOS platform (tested on iPad 4, iPhone 4S and iPhone 5)

It works in Unity Editor, Android (tried on multiple smartphones and tablets) and PC / Mac, but iOS is the only platform I can't make it work.

ARCamera is present in scene, Load Data Set and Activate checkboxes are both checked.

Image Target Textures are in folder Editor/QCAR/ImageTargetTextures/DBTestV1.

DataSet (both DBTestV1.dat and DBTestV1.xml files) is in folder StreamingAssets/QCAR.

 

Versions:

Unity 5.2.0f3

Vuforia 5.0.5

Xcode 7.0.1

Are you able to compile and run the ImageTargets 5.0.5 sample app?

Dataset exists but fails to load and activate

October 8, 2015 - 2:48pm #13

Hi, I actually have the same issue in our iOS build (Development and Production):

dataSetExists
dataSetExists
Dataset DBTestV1 could not be loaded and cannot be activated.

I tried different names for the DataSet (db_test_v1, db-test-v1, DBTestV1), but the problem is still here, on any iOS platform (tested on iPad 4, iPhone 4S and iPhone 5)

It works in Unity Editor, Android (tried on multiple smartphones and tablets) and PC / Mac, but iOS is the only platform I can't make it work.

ARCamera is present in scene, Load Data Set and Activate checkboxes are both checked.

Image Target Textures are in folder Editor/QCAR/ImageTargetTextures/DBTestV1.

DataSet (both DBTestV1.dat and DBTestV1.xml files) is in folder StreamingAssets/QCAR.

 

Versions:

Unity 5.2.0f3

Vuforia 5.0.5

Xcode 7.0.1

Dataset exists but fails to load and activate

October 1, 2015 - 1:25pm #12

Maybe the path to the folder with your project contains non-English characters? Check it plz.

Move the folder to another location or rename folder.

Dataset exists but fails to load and activate

September 30, 2015 - 9:21am #11

I also can't make it work on iOS.

As previously mentioned, I get the following message:

dataSetExists

dataSetExists

Dataset __________ could not be loaded and cannot be activated.

 

Any idea on how to solve this issue?

Dataset exists but fails to load and activate

September 29, 2015 - 4:25pm #10

  • Are you able to build and run the ImageTargets 5.0.5 sample app successfully?
  • Are you using multiple datasets?
  • Is the dataset activated on the ARCamera?

 

Dataset exists but fails to load and activate

September 27, 2015 - 1:47am #9

Same probrem occuered on my iOS device.

- OS X 10.10.5

- Unity 5.2.1f

- Vuforia 5

 

Same project can build Android, its work.

But, iOS (9.0.1) device couldnt work.

 

I dont use windows.

 

Xcode said...

```

dataSetExists

Dataset ______ could not be loaded and cannot be activated.

```

why?

 

Dataset exists but fails to load and activate

September 18, 2015 - 12:31am #8

dm3d wrote:

Yes, building an iOS Vuforia Unity project on Windows and compiling with Xcode on a Mac is not supported. I don't have any more technical explanation than that. There's been other posts on the forums about this as well.

has this been solved by now so that it is possible to build working vuforia ios solutions on unity-windows and then just to have to compile finally on mac?

Dataset exists but fails to load and activate

April 28, 2015 - 9:43pm #7

Yes, building an iOS Vuforia Unity project on Windows and compiling with Xcode on a Mac is not supported. I don't have any more technical explanation than that. There's been other posts on the forums about this as well.

Dataset exists but fails to load and activate

April 28, 2015 - 9:25pm #6

Yeah I was building it on windows and transferring it to my Mac. After I switched to Mac it worked. Why can't I build Vuforia on windows for a Mac????

Dataset exists but fails to load and activate

April 28, 2015 - 9:18pm #5

A couple of questions:

  • Does the ImageTargets 4.0.105 sample compile and work okay?
  • Are you compiling the Xcode project from the Windows version Unity?

 

Dataset exists but fails to load and activate

April 27, 2015 - 12:28am #4

I am experiencing this problem as well. I can track the image targets in Unity using my webcam, but nothing appears when using any of my ios devices.

Dataset exists but fails to load and activate

April 24, 2015 - 9:07am #3

When I go from Unity to xcode my library search path to Plugins comes in funny instead of a "/" it comes in with a "\" I am using a clean scene with Vuforia as my only plugin. I can get my app on the Ipad and the camera works but won't recognize the image targets. I saw that in the debug it says it can't load or activate the dataset and assumed that is the reason why no models pop up on the images.

Dataset exists but fails to load and activate

April 22, 2015 - 5:31pm #2

Can you share more details about having to relink your paths in Xcode? Are you using 3rd party Unity plugins?

Log in or register to post comments