I use Unity 4.6.3f1 and Vuforia 4.0.103.
I've got the problem, that
OnTrackableStateChanged is only called during initialisation, if the script is attached to an ObjectTarget. The object is recognized and the ARCamera is moving as it should be, but the
OnTrackableStateChanged is not called during runtime. So I cannot react to found/lost events.
I've tested this behaviour in an minimalisitv scene.
- create an empty scene
- added an ARCamera
- add an ObjectTarget Prefab with
Testing this scene, reveals the described behaviour. ARCamera is moving but no StateChanged-events are catched.
- add an ImageTarget Prefab with
Testing this scene, shows that
OnTrackableStateChanged at the ImageTarget is called, but still not a the ObjectTarget.
Is this a bug, or am I missing something?
Thanks for your advices.