"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

FindOrCreateImageTargetBehaviourForTrackable

Hi,

For our AR project, we were using the 2.6.7 SDK. But since we had to update to Unity 4.3.4, I understood we also need to update the SDK version to 2.8.7.

I followed the steps for a proper Vuforia update, and after solving a few simple errors, I found myself against an error about a call to the "FindOrCreateImageTargetBehaviourForTrackable" function, which seems to have been set to private now. How can I execute the code that was inside this method (I'm stuck on the "mTrackableBehaviours[trackable.ID] = trackableBehaviour;" line, which also produces an error due to "mTrackableBehaviours" being private.

From what I understand, the question seems to be "how can I define the ImageTargetBehaviour component for a given trackable (it seems to be instantiated to some empty value as default) ? Thanks.