Search Unity

Ground Plane disappears completely when App loses focus

Discussion in 'Vuforia' started by interactiveknowledge, Jan 10, 2020.

  1. interactiveknowledge

    interactiveknowledge

    Joined:
    Apr 17, 2017
    Posts:
    1
    Has anyone else experienced this issue?
    I'm running into an issue in development and have only tested on iOS so far.

    Vuforia v. 8.6.7
    Unity v. 2019.2.11f1

    I have a scene that uses a Plane Finder to detect and initiate a Ground Plane Stage.

    When I initialize the Ground Plane in the app and then navigate to a different app, when I come back to my app, the Ground Plane and all child elements are gone. The log shows that Vuforia Positional Device Tracker is stopping and starting as the app goes in the background and comes back to focus. I can reinitialize the ground plane using the finder but I’d rather not have to do that if possible.

    Is there a way to maintain the placed ground plane even when the app is out of focus and running in the background?
     
  2. Sika_MC

    Sika_MC

    Vuforia

    Joined:
    Jul 17, 2019
    Posts:
    75
    Hi,

    The behavior is as designed. Unfortunately Vuforia currently does not provide the option to save the AR session, meaning that once you exit the app, everything will be stopped/reset.

    I can confirm that Product Management is aware of this feature request and is looking into it.

    Thank you.
    Vuforia Engine Support
     
unityunity