I have 2 AR scenes that have the same tracker but augment different videos.
In the DadabaseLoadBehaviour.cs script on the ARCamera I inserted the code:
#if UNITY_IOS
AddExternalDatasetSearchDir(Application.dataPath + "/Raw/QCAR/");
#endif
In Editor, if I go from the first scene to the second and back again, when I return to the first scene the ARCamera shows black and an error message saying
Could not create dataset.
UnityEngine.Debug:LogError(Object)Vuforia.ObjectTrackerImpl:CreateDataSet()Vuforia.DatabaseLoadAbstractBehaviour:LoadDatasets()Vuforia.VuforiaAbstractBehaviour:Start()
I have a GUICanvas image that will SetActive(true) when the tracker is lost or false if it's found. This seems to be causing the issue as when I return to the scene, it says the GameObject has been destroyed but Unity is still trying to access it.