"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

How to destroy target created by calling dataset.Load()

I want to dynamically load and destroy datasets. The load and activate is ok.  Even deactivate is ok.  However, when I try to destroy the dataset,  it generates errors as

Could not destroy trackable with id 1

Could not destroy trackable with id 2

 

code :

tracker.Stop ();

tracker.DeactivateDataSet (m_Dataset);

tracker.DestroyDataSet (m_Dataset, true);

Hello,

Examples for how to use this API are well documented in our core sample apps. Please review those.

Thanks.

[quote=medabit]

Hello,

Examples for how to use this API are well documented in our core sample apps. Please review those.

Thanks.

[/quote]