Lost tracking during meshing

Include the following details (edit as applicable):

  • Issue category: Real-time Mapping-Depth
  • Device type & OS version: Android 9
  • Host machine & OS version: Windows 10
  • Issue Environment : On Device
  • ARDK version: 1.3.0
  • Unity version: 2020.3 LTS

Description of the issue:

During meshing, sometimes the tracking gets lost. It usually relocalizes to an incorrect position, and instead of improving that new location, it continues meshing (which is completely off). Normally, when not meshing it improves its relocalization as it gets more frames.

Can I “Pause” meshing when tracking gets lost, so that I can ask the user to go to the last place before tracking failed, and then continue?