Log in or register to post comments

Delayed initialization

October 30, 2018 - 12:41am #1

Hello,

I need advice on the best way to manage my application which uses Vuforia (and an AR camera on some scenes), but not on others. At first, I had Vuforia "delayed initialization" unchecked but I kept getting the error: "Could not deinitialize the tracker" when switching to a non-AR scene or exiting/stopping the app. Then, after some googling, I checked "delayed initialization" and on the Awake method for the AR Camera, I used "VuforiaRuntime.Instance.InitVuforia();". However, I still get the "Could not deinitialize the tracker" error. What is the proper way of handling initialization/deinitialization when moving between AR and non-AR scenes? I've tried using "VuforiaRuntime.Instance.Deinit();" when pressing a button to exit the AR scene as well but the error remains.

 

Log in or register to post comments