Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Pausing/resuming ARCoreSession with Unity Ads

Discussion in 'AR' started by rhysp, May 10, 2018.

  1. rhysp

    rhysp

    Joined:
    Jun 14, 2016
    Posts:
    7
    I am currently using an implementation of ARCore based on the ARCore and UnityARInterface examples. To pause and resume the session, I will enable/disable the ARCoreSession component. This successfully resumes the experience with retained planes, scene interactions and camera use.

    When presenting the user with an advert (via Unity Advertisements), I will pause the session, but upon returning it appears that the whole scene is reloaded, rather than simply resuming. This does not occur when played in-editor (using AREditorInterface). In the editor, adverts are replaced with Unity's "This screen will be your Ad Unit" debug screen, so I can't be certain that the same possible scene change is occurring.

    Has anybody had experience with successfully pausing and resuming the ARCore session during adverts? This does not occur with a similar implementation with ARKit.
     
  2. TomKhan3

    TomKhan3

    Joined:
    Jul 21, 2017
    Posts:
    18
    I'm having trouble with this too. Anyone know what's up?