Hi, I am getting this error every time I try to open another Scene, from a scene that uses Vuforia:
I was wondering that I was not properly deinitializing Vufori before opening another scene, so I added
VuforiaBehaviour.Instance.enabled = false;
This throws "Stopping Device Tracker" and "Stop Vuforia Engine" messages, so it is working
After that, I open the scene, but still getting the same error.. any idea?
Attachment | Size |
---|---|
![]() | 11.57 KB |
![]() | 17.04 KB |
Hi,
You are not required to manually disable Vuforia when switching scenes as switching to non-AR scene will automatically disable Vuforia.
I believe the error you are seeing when using VuforiaBehaviour.Instance.enabled = false is related to the fact that you are switching scenes immediately, not giving Vuforia enough time to properly disable.
Thank you.
Vuforia Engine Support