"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Disable and re-enable Vuforia error

Hi,

 

I'm unable to disable and re-enable Vuforia. It will give me Could not create dataset and Could not start tracker error.

Am I doing it wrongly or is it a Vuforia thing?

Thank you!

 

Here is what I'm doing in my script:


private void OnEnable() 
{ 
    VuforiaBehaviour.Instance.enabled = false;
    VuforiaRuntime.Instance.Deinit();
    VuforiaARController.Instance.SetWorldCenterMode(VuforiaARController.WorldCenterMode.DEVICE_TRACKING);
    VuforiaConfiguration.Instance.DeviceTracker.TrackingMode = DeviceTracker.TRACKING_MODE.ROTATIONAL;
    StartCoroutine(waitBeforeReenableVuforia(() =>
    {
        VuforiaRuntime.Instance.InitVuforia();
        StartCoroutine(waitBeforeReenableVuforia(() =>
        {
            VuforiaBehaviour.Instance.enabled = true;
            CameraStart();
        }));
    })); }

Hello Bendistocratic,

You only need to disable and re-enable the VuforiaBehaviour, not the VuforiaRuntime. Try again with that section of the code removed and let me know if you're still seeing this issue.

Thanks,

Vuforia Support

Hello,

i want to renewal my license key but.................

my id is:- digicopsindia.com@gmail.com

Hi,

Please open a ticket with: https://developer.vuforia.com/support/contact/login. They would be able to assist you.

Thank you.

Vuforia Engine Support