Log in or register to post comments

OnNewSearchResult but no OnTrackingFound

May 5, 2015 - 10:08am #1

Hi,

 

I'm using Vuforia 4.0 with Unity 4.6, with Cloud Recognition, based on the setup provided in your demo.

 

I have a CloudRecoTarget object with a TrackableEventHandler script. The script has the method:

 private void OnTrackingFound()

 

I have a CloudRecognition object with a CloudRecoEventHandler script. The script has the method:

  public void OnNewSearchResult(TargetFinder.TargetSearchResult targetSearchResult)

 

What's happening is sometimes I'm getting the OnNewSearchResult but NOT the OnTrackingFound. And I'm always testing with the same single image target.

Do you have any idea of what might be happening or what I could be doing wrong?

 

Thank you!

OnNewSearchResult but no OnTrackingFound

May 7, 2015 - 12:09pm #2

Did you register a TrackableEventHandler? I would suggest comparing your code to the CloudRecoTrackableEventHandler.cs in our CloudReco sample app for Unity.

Log in or register to post comments