Log in or register to post comments

App get crash while loading Data set

August 12, 2013 - 6:48am #1

Hi,

My app was working fine, in which I used old data set almost 3 months ago I created those and used. Now I need to do change in my old application so I created new data set with new markers and added these onto Unity3d but after loading old data set, app get crash when it try to load new data set. Last log message display is "ImageTracker: Successfully created dataset Successfully created data set.". App working fine with old downloaded data set, I now also tried to download old data set and replaced with old downloaded version then app get crash. It works fine with old downloaded data set. May be you guys updated version so compatibility issue occuring. 

I am using Unity3d 3.5.5f3. Kindly help me or guide me where I am doing wrong but I am following old procedure to add data set. I think problem is in .dat file coz I rechecked .xml file with old downloaded version that same and markers are also same so only .dat file remain. If any one knows help me on that. This will be great for me. Thanks in advance.

 

App get crash while loading Data set

September 3, 2013 - 3:17am #12

Firstly, please do not use an existing thread, create a new one.

 

Im getting a crash while running on ipad, im using unity 4 and vuforia 1.5.8.

We do not support older versions of Vuforia so you need to upgrade to the latest.

 

I cant understand what has happend or is wrong. I created the new dataset using the Target Manger web.

The Target Manager has been updated and no longer works on older versions of Vuforia.

 

N

 

App get crash while loading Data set

September 3, 2013 - 3:01am #11

Hi, please excuse my english, ill try and explain my problem as best as i can.

Im getting a crash while running on ipad, im using unity 4 and vuforia 1.5.8.

I have the ImageTarget object and Unity's AR camera dataset activated and loaded and setup (in the inspector, under Data Set Load Behaviour).

When i try using other datasets it works perfectly and i have hade other custom datasets working before, now they don't work after reimporting them anymore.

The last log in Xcode before the crash is "Successfully created data set".

I cant understand what has happend or is wrong. I created the new dataset using the Target Manger web.

Any help would be much apriciated!

 

 

App get crash while loading Data set

August 16, 2013 - 4:07am #10

I also googled but couldn't find that how to replace in right way

A better strategy would be to search the sample code in MonoDevelop for example uses of the API.

e.g. If you look at ImageTargetsMenu.cs you'll find the code below.

HTH

N

 

 

        ImageTracker imageTracker = (ImageTracker)TrackerManager.Instance.GetTracker(Tracker.Type.IMAGE_TRACKER);

 

        IEnumerable<DataSet> dataSets = imageTracker.GetDataSets();

        IEnumerable<DataSet> activeDataSets = imageTracker.GetActiveDataSets();

 

        // Changes current active dataset

        if (dataSets.Count() >= 2 && activeDataSets.Count() >= 1)

        {

             DataSet activeDataSet = activeDataSets.ElementAt(0);

                        

             if(mCurrentDataSetIndex == 0)

             {

                 imageTracker.DeactivateDataSet(activeDataSet);

                 imageTracker.ActivateDataSet(dataSets.ElementAt(1));

                 mCurrentDataSetIndex = 1;

                 mDatasetText = SWITCH_TO_STONES_AND_CHIPS;

                            

             }else

             {

                 imageTracker.DeactivateDataSet(activeDataSet);

                 imageTracker.ActivateDataSet(dataSets.ElementAt(0));

                 mCurrentDataSetIndex = 0;

                 mDatasetText = SWITCH_TO_TARMAC_TEXT;

                            

             }

                        

         }

 

App get crash while loading Data set

August 16, 2013 - 3:31am #9

Thanks Nalin,

Thank you Nalin for posting this migration 1.5 to 2.x at here "https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/migrating-your-unity-project-vuforia-15-2x". Sorry it is not proper mentioned that how to replace code properly, On 5th point, I just replace code "ImageTracker.GetDataSets()" instead of "GetNumDataSets() and GetDataSet(int)" but it generating many issues. I also googled but couldn't find that how to replace in right way, can you please help me on that, how to replace lines of code in right way?

Thanks

App get crash while loading Data set

August 14, 2013 - 9:38am #8

Please see the new sticky at the top that contains the Migration guide from 1.5 to 2.x

HTH

N

App get crash while loading Data set

August 13, 2013 - 5:40am #7

Yes I am waiting for your reponse, when ever you find please resond to this post, So that I can get alert with from mail. Thanks again for your help.

 

App get crash while loading Data set

August 13, 2013 - 4:53am #6

Ok - we are working on it to see what we can do here.

Until then, thank you for your patience.

N

App get crash while loading Data set

August 13, 2013 - 2:06am #5

Thanks Nalin,

I just tried to upgrade 1.5 to 2.6 but it generate many errors which I don't think so I can hanlde without any guide. So I think I need link where I can first upgrade 1.5 to 2.0 which is currently not available or hide and then 2.0 to 2.6 which already given "https://developer.vuforia.com/resources/dev-guide/migrating-your-unity-project". So kindly show us or open for us link 1.5 to 2.0. I need to do this ASAP, this will be great for me if you can. Thanks in advance.

 

App get crash while loading Data set

August 13, 2013 - 1:23am #4

Sorry about the OWA link - not sure where or how it happened?

There used to be a 1.5 to 2.0 migration guide but that has currently disappeared from the portal and I am trying to see if we can get it restored.

In the meantime there is another migration guide from 2.0 to 2.5/2.6, but I am not sure this helps you.

 

N

App get crash while loading Data set

August 12, 2013 - 11:07pm #3

Thanks Nalin,

I just open the link in post which you mentioned link in reply "https://developer.vuforia.com/resources/dev-guide/transitionmigration-guide" it open Outlook Web App page, see attached file, need your assistance at here. I googled and found this migration link "https://developer.vuforia.com/resources/dev-guide/migrating-your-unity-project". So am I eligible to follow this link because I dont know what is the least version required at here for Vuforia SDK like 1.5 to 2.6 or 2.0 to 2.6. Now I am at 1.5 so am I eligible to upgrade to 2.6 or I need other link to upgrade to 2.6? Thanks again.

 

App get crash while loading Data set

August 12, 2013 - 7:24am #2

Please see this thread for more details:

https://developer.vuforia.com/forum/qcar-api/15-sdk-has-been-deprecated

If you are genenerating new datasets for applications on 1.5.8 they will not be compatible, so you have no choice but to upgraed your application to the latest SDK.

While you are at it you might wish to consider upgrading to a later Unity version as well.

 

N

 

Log in or register to post comments