Topic locked

how to delete dynamic area target on memory?

February 5, 2021 - 12:20am #1

I used vuforia area target.

link :

I used linked source to make area target ( DataSet and AreTarget ).

Linked Source , there was only DeactivateDataset and DisableAreaTarget in source.

I want to Delete DataSet And AreaTarget On Memory.

how to delete it on Memory?

1) How to delete one by one.

2) How to delete all.

how to delete dynamic area target on memory?

February 8, 2021 - 1:37am #2


In order to free up memory, it is required to Destroy the GameObjects and DataSet.

By performing below steps in following order, the memory should be released:

1. Destroy the GameObject after it has been disabled using something like this Destory(areaTarget)

2. Destory the DataSet by running areaTracker.DestroyDataSet()

More information can be found here on Destroy:

In general if you are interested how to stich up different Area Targets, please go over our documentation: which provides a recommended way of performing it.

Thank you.

Vuforia Engine Support

Topic locked