Vuforia SDK Version: 5.5.9 -
Description with steps to reproduce:
Just spent several hours dealing with this annoying bug. Unity version 5.3.4 and Vuforia 5.5.9 .
OnTrackingFound fires after sleep button is pressed while viewing a trackable item. This should obviously never fire if device is asleep and screen not on.
Not a huge deal for simple projects since OnTrackingLost seems to get called but we are doing some complex hierarchical scene loading and need stuff like this to fire correctly. We couldnt get scenes to unload correctly before going to sleep becuase of this tracking found bug.
Thankfully onapppause gets called before ontrackingfound. Workaround is to set a bool in OnAppPause and check to see if app is in paused state before calling ontrackingfound.
Development OS (Mac OS X, Windows, Linux): OS X -
Mobile OS and Version: iOS 9.2.1 -
Mobile Device Manufacturer and Model name: Iphone 6s -
Do the Vuforia Sample Applications show the same behavior?: Yes, remote debug on iOS and set a break point in ontrackingfound. Hold device up to image target, let it track, and then press sleep button. You'll see it gets fired after button is pressed.