エラー処理について
リローカライズ中に予期せぬエラーが発生した場合、 OnException イベントを呼ぶことができます。
// ARSharedAnchorManager.cs
// Attach a callback to this event to listen for whenever there is an error while doing relocalization
public delegate void SharedAnchorSubsystemException(Exception e);
public event SharedAnchorSubsystemException OnException;
活用例
[SerializeField]
private ARSharedAnchorManager _sharedAnchorManager;
private void OnEnable()
{
    // Subscribe to event
    _sharedAnchorManager.OnException += LogException;
}
private void OnDisable()
{
    // Unsubscribe to event
    _sharedAnchorManager.OnException -= LogException;
}
private void LogException(Exception e)
{
    // Log the exception to console e.g.,
    // Debug.LogException(e);
}