I have 2 Unity scenes.
I use Vuforia (Legacy) in the first scene, and I use ARKit in the second scene.
I can switch between the scenes using SceneManager.LoadScene("sceneName")
When I switch from Vuforia scene to ARKit scene everything is fine.
But if after that I switch back to Vuforia scene and then again to ARKit scene - the ARKit scene doesn't work. Looks like it's stuck, I see a frozen image from the camera, though all buttons work.
Why is it happening and how can I fix it?
I thought maybe this is somehow related to the DontDestroyOnLoad objects that Vuforia generates (screenshot below)?