How can we attach an event to the VPS localization event, both on the first instance of tracking and whenever tracking is lost?

Description of the issue:
The application is crashing when attaching events to the ARLocationManager.

This is important because we can only enable certain features once we are sure localization has succeeded. These same features must be disabled when localization is lost.

  • Issue category: VPS
  • Device type & OS version: Android / iOS
  • Host machine & OS version: Mac / Windows
  • Issue Environment :
  • Xcode version:
  • ARDK version:
  • Unity version:

cc: @Taylor_J_Brown

Hello!

This documentation might be what you are looking for. Revealing the ARLocationTracking script will show you an example of how you could use the locationTrackingStateChanged property of the ARLocationManager to determine when the tracking state is changed. Let me know if this is of any help. Thank you!

1 Like