Log in or register to post comments

Error with VideoTrackableEventHandler

July 7, 2020 - 2:16am #1

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

}

AttachmentSize
Image icon error.png35.75 KB

Error with VideoTrackableEventHandler

July 14, 2020 - 6:30am #2

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

Log in or register to post comments