Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    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?