Hi,
I took the video player example from the core example scenes and used it for my AR app. Since a few days, I got the error (see image : https://developer.vuforia.com/sites/default/files/error_30.png)
Since then, the videos wont pause when tracking is lost.
Any idea why this is or how to fix this?
Here my eventHandler code:
/*===============================================================================
Copyright (c) 2017 PTC Inc. All Rights Reserved.
Vuforia is a trademark of PTC Inc., registered in the United States and other
countries.
===============================================================================*/
public class VideoTrackableEventHandler : DefaultTrackableEventHandler
{
#region PROTECTED_METHODS
protected override void OnTrackingLost()
{
mTrackableBehaviour.GetComponentInChildren<VideoController>().Pause();
base.OnTrackingLost();
}
#endregion // PROTECTED_METHODS
}
Attachment | Size |
---|---|
![]() | 35.75 KB |
Hi,
Did you by any chance upgrade the Vuforia version?
If yes, please check our migration guide to 9.x, https://library.vuforia.com/content/vuforia-library/en/articles/Solution/How-To-Migrate-a-Unity-Project.html#migration9-0
and also please check our latest core sample apps, to see how the implementation has changed.
Thank you.
Vuforia Engine Support