Search Unity

  1. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  2. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  3. If you couldn't join the live stream, take a peek at what you missed.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Pausing/resuming ARCoreSession with Unity Ads

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

  1. rhysp

    rhysp

    Joined:
    Jun 14, 2016
    Posts:
    4
    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:
    10
    I'm having trouble with this too. Anyone know what's up?