Search Unity

Is it possible to have persistent worlds using AR Foundation?

Discussion in 'AR' started by AbradolfLinkler, Apr 14, 2020.

  1. AbradolfLinkler

    AbradolfLinkler

    Joined:
    Feb 26, 2017
    Posts:
    26
    Hello Everybody,

    I want to make an AR app where the 3D objects would "remember" their position between sessions inside a physical room.

    Does anyone know what is the status of support for Cloud Anchors and World Maps for AR Foundation?

    Is it possible to create a backend/server which would keep the position of 3D objects between sessions / App Usages? Or can an AR App itself hold the World Map of the room for future uses? If so would it work on iOS and Android?

    Is the info on this site up to date as of April 2020?

    https://blogs.unity3d.com/2018/12/18/unitys-handheld-ar-ecosystem-ar-foundation-arcore-and-arkit/

    Any info would be appreciated.

    Kind Regards
     
    Blarp likes this.
  2. mr_kodjo

    mr_kodjo

    Joined:
    Jan 18, 2020
    Posts:
    4
    have you looked into using azure spatial anchors?
     
  3. todds_unity

    todds_unity

    Joined:
    Aug 1, 2018
    Posts:
    324
  4. AbradolfLinkler

    AbradolfLinkler

    Joined:
    Feb 26, 2017
    Posts:
    26
    @mr_kodjo WOW - thanks for this Idea - I would actually never have thought of that - looks very promising - I'll check it out and see if it works..

    @todds_unity Thank You very much for this info - but just to understand well - you recommend making two separate builds (iOS + Android) with two different approaches for coding persistent World Maps? So then would I have to get rid od AR Foundation approach completely? Or would it be possible/practical to use AR Foundation + ArKit / ARCore in the same app?
     
    newguy123 likes this.
  5. yty

    yty

    Joined:
    Aug 10, 2009
    Posts:
    82
    azure spatial anchors can only work before unity 2019.2...
     
  6. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,248
    quoted beacuse I have the same question...
     
    LostPanda likes this.
  7. Saicopate

    Saicopate

    Joined:
    Sep 25, 2017
    Posts:
    76
    Are there any plans on ARF side to unify approach to persistent AR?
     
  8. Jelmer123

    Jelmer123

    Joined:
    Feb 11, 2019
    Posts:
    243
    And the example project from microsoft is a real pain unfortunately
     
  9. samsgates

    samsgates

    Joined:
    Nov 8, 2013
    Posts:
    2
    Google ARcore Team working on persistent cloud anchor, it's going to release soon. right now it's in development stage.


    https://www.slideshare.net/unity3d/...chors-and-ar-foundation-unite-copenhagen-2019

    From : https://developers.google.com/ar/develop/java/cloud-anchors/overview-android
    ===============================
    Note: We’re currently developing persistent Cloud Anchors, which can be resolved for much longer. Before making the feature broadly available, we’re looking for more developers to help us explore and test persistent Cloud Anchors in real world apps at scale.
    =======================================

    https://developers.google.com/ar/develop/call-for-collaborators#persistent_cloud_anchors
     

    Attached Files:

    karmatha likes this.
  10. Fangh

    Fangh

    Joined:
    Apr 19, 2013
    Posts:
    278
    1) Does it work in 2023 ?
    2) Is there a way to store them locally ? (for a "no internet" use case)