"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Failed to load data set

Hi Vuforia,

I am downloading .xml and .dat from server . 

My downloading method is:-

NSString *urlToDownload = @"https://s3.amazonaws.com/uploads.hipchat.com/122799/3164901/O7QFARbEJUbmEbo/shopping.xml";         NSURL  *url = [NSURL URLWithString:urlToDownload];         urlData = [NSData dataWithContentsOfURL:url];         if ( urlData )         {             NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);             NSString  *documentsDirectory = [paths objectAtIndex:0];             NSString  *xmlFilePath = [NSString stringWithFormat:@"%@/%@", documentsDirectory,@"result.xml"];             NSLog(@"Downloading Started %@",xmlFilePath);             filePath = [xmlFilePath lastPathComponent];             //saving is done on main thread             [urlData writeToFile:filePath atomically:YES];         }

same for.dat.

I used :-

if (!dataSet->load([dataFile cStringUsingEncoding:NSASCIIStringEncoding], Vuforia::STORAGE_ABSOLUTE)) { }

 

I get error  "failed to load dataset".

 

Please help me asap.

khushiMishti

Mon, 01/22/2018 - 05:06

Hi vuforian's 

I need your help as soon as possible, Because after solve this problem. I want to purchase vuforia for my product.