Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

AR Foundation: way to know if world map relocalization was successful?

Discussion in 'AR' started by rytalfo, Jun 12, 2019.

  1. rytalfo

    rytalfo

    Joined:
    Jan 15, 2019
    Posts:
    5
    I want to have a scene that attempts to localize using a stored world map. I want to have some event that is fired when localization is successful. Is this available, or is there a way to access the session tracking state and detect a change from trackingstatereason.relocalizing to trackingstatereason.none?
     
    karsnen likes this.
  2. enhawk

    enhawk

    Joined:
    Aug 22, 2013
    Posts:
    835
    If you check the example it does this.
     
  3. V-Jankaitis

    V-Jankaitis

    Joined:
    Nov 12, 2014
    Posts:
    8
    the example lets you know when the map is loaded, not localized
     
  4. Lai-Wei-Han

    Lai-Wei-Han

    Joined:
    Nov 12, 2017
    Posts:
    5
    I have same question. Any one solved??
     
  5. unnanego

    unnanego

    Joined:
    May 8, 2018
    Posts:
    204