Azure / azure-spatial-anchors-samples

Azure Spatial Anchors sample code
Other
293 stars 138 forks source link

CreateNeighborhoodAnchorAndSpatialAnchorAsync - HTTP Response Status Code: 500 #410

Open a58759578 opened 1 year ago

a58759578 commented 1 year ago

I run this example on HoloLens2, and this error appeared when Saveing SpatialAnchor

SDK Version: V2.13.3 OpenXR Version: V1.7.2

Here is the full log:

XRTextureManager::RequestCreateTexture XRTextureManager::RequestCreateTexture XRTextureManager::SetupRenderTextureFromXRRequest (id: 3 col: 0000000000000000 d: 0000026B472FDE38 sr: 0000000000000000) RenderTexture::Create (id: 3) IVRDeviceCallback_CreateEyeTextureResources 0000026B472FDE38 XRTextureManager::SetupRenderTextureFromXRRequest (id: 4 col: 0000026B472FC138 d: 0000000000000000 sr: 0000000000000000) RenderTexture::Create (id: 4) IVRDeviceCallback_CreateEyeTextureResources 0000026B472FC138 XRTextureManager::RequestCreateTexture XRTextureManager::RequestCreateTexture XRTextureManager::SetupRenderTextureFromXRRequest (id: 5 col: 0000000000000000 d: 0000026B472FFDB8 sr: 0000000000000000) RenderTexture::Create (id: 5) IVRDeviceCallback_CreateEyeTextureResources 0000026B472FFDB8 XRTextureManager::SetupRenderTextureFromXRRequest (id: 6 col: 0000026B472FDB38 d: 0000000000000000 sr: 0000000000000000) RenderTexture::Create (id: 6) IVRDeviceCallback_CreateEyeTextureResources 0000026B472FDB38 [XR] [MROpenXR][Info ][11:46:34.513318][tid:1228] OpenXRContext_OnEvent_XrEventDataInteractionProfileChanged EventType=XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED session=2 leftHand=none rightHand=/interaction_profiles/microsoft/hand_interaction UnloadTime: 2.425677 ms [XR] [MROpenXR][Info ][11:46:37.201036][tid:1228] PlaneProvider_StartSubsystem No active UnityEngine.XR.ARSubsystems.XRCameraSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogWarningFormat(String, Object[]) UnityEngine.XR.ARFoundation.SubsystemLifecycleManager3:GetActiveSubsystemInstance() UnityEngine.XR.ARFoundation.SubsystemLifecycleManager3:EnsureSubsystemInstanceSet() UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:OnEnable() UnityEngine.Object:Internal_CloneSingle(Object) UnityEngine.Object:Instantiate(T) Microsoft.Azure.SpatialAnchors.Unity.Examples.XRCameraPicker:Awake()

Clicking >> GoButton UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.BasicGazeCursor:OnTappedChangedEventHandler(WindowsMRTappedGestureEvent) Microsoft.Azure.SpatialAnchors.Unity.Examples.OpenXR.WindowsMRGestures:Update()

The referenced script on this Behaviour (Game Object 'HololensUX') is missing! Unloading 5 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 13.021042 ms Unloading 7 unused Assets / (10.6 KB). Loaded Objects now: 1766. Memory consumption went from 28.2 MB to 28.2 MB. Total: 6.026302 ms (FindLiveObjects: 0.627344 ms CreateObjectMapping: 0.234010 ms MarkObjects: 4.970313 ms DeleteObjects: 0.192344 ms)

Azure Spatial Anchors Demo Script Start UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:Start()

2 UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.XRUXPicker:GetFeedbackText() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:Start() Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:Start()

Azure Spatial Anchors Demo script started UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:Start()

State from DemoStepCreateSession to DemoStepBusy UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:AdvanceDemoAsync() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:b36_0() Microsoft.Azure.SpatialAnchors.Unity.UnityDispatcher:Update()

State from DemoStepBusy to DemoStepConfigSession UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageThree() System.Threading.Tasks.Task1:TrySetResult(TResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(TResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(Task1) System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetResult() Microsoft.Azure.SpatialAnchors.Unity.d36:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageThree() System.Threading.Tasks.Task1:TrySetResult(TResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(TResult) Microsoft.Azure.SpatialAnchors.Unity.d14:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageThree() System.Threading.Tasks.Task1:TrySetResult(TResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(TResult) Microsoft.Azure.SpatialAnchors.Unity.d17:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.<>c:<.cctor>b__7_0(Object) UnityEngine.WorkRequest:Invoke() UnityEngine.UnitySynchronizationContext:Exec() UnityEngine.UnitySynchronizationContext:ExecuteTasks()

State from DemoStepConfigSession to DemoStepBusy UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:AdvanceDemoAsync() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:b36_0() Microsoft.Azure.SpatialAnchors.Unity.UnityDispatcher:Update()

State from DemoStepBusy to DemoStepStartSession UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:AdvanceDemoAsync() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:b36_0() Microsoft.Azure.SpatialAnchors.Unity.UnityDispatcher:Update()

State from DemoStepStartSession to DemoStepBusy UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:AdvanceDemoAsync() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:b36_0() Microsoft.Azure.SpatialAnchors.Unity.UnityDispatcher:Update()

State from DemoStepBusy to DemoStepCreateLocalAnchor UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageThree() System.Threading.Tasks.Task1:TrySetResult(TResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(TResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(Task1) System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetResult() Microsoft.Azure.SpatialAnchors.Unity.d42:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageThree() System.Threading.Tasks.Task1:TrySetResult(TResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(TResult) Microsoft.Azure.SpatialAnchors.d74:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.<>c:<.cctor>b7_0(Object) UnityEngine.WorkRequest:Invoke() UnityEngine.UnitySynchronizationContext:Exec() UnityEngine.UnitySynchronizationContext:ExecuteTasks()

State from DemoStepCreateLocalAnchor to DemoStepBusy UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:AdvanceDemoAsync() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:b36_0() Microsoft.Azure.SpatialAnchors.Unity.UnityDispatcher:Update()

State from DemoStepBusy to DemoStepSaveCloudAnchor UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:AdvanceDemoAsync() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:b36_0() Microsoft.Azure.SpatialAnchors.Unity.UnityDispatcher:Update()

State from DemoStepSaveCloudAnchor to DemoStepSavingCloudAnchor UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:set_currentAppState(AppState) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:AdvanceDemoAsync() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:b36_0() Microsoft.Azure.SpatialAnchors.Unity.UnityDispatcher:Update()

Shouldn't get here for app state DemoStepSavingCloudAnchor UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.d14:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:AdvanceDemoAsync() Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:b36_0() Microsoft.Azure.SpatialAnchors.Unity.UnityDispatcher:Update()

RestClient::CreateNeighborhoodAnchorAndSpatialAnchorAsync - HTTP Response Status Code: 500. ReqCV: n2kw5STaSs2BaFgs3VNilg. RespCV: KNXoR4qk2k25lpF5ruZyiw.0. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:CloudManager_LogDebug(Object, OnLogDebugEventArgs) Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession:OnLogDebugStaticHandler(UInt64, IntPtr)

CreateNeighborhoodAnchorAndSpatialAnchor failed with HTTP error 500. ReqCV: n2kw5STaSs2BaFgs3VNilg. ResCV: KNXoR4qk2k25lpF5ruZyiw.0. JSON Error: {"error":{"code":"InternalServerError","message":""}} UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:CloudManager_LogDebug(Object, OnLogDebugEventArgs) Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession:OnLogDebugStaticHandler(UInt64, IntPtr)

Service unavailable or unspecified error found UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:CloudManager_Error(Object, SessionErrorEventArgs) Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession:ErrorStaticHandler(UInt64, IntPtr) Microsoft.Azure.SpatialAnchors.<>c__DisplayClass66_0:b__0() System.Threading.Tasks.Task:InnerInvoke() System.Threading.Tasks.Task:Execute() System.Threading.Tasks.Task:ExecutionContextCallback(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.Tasks.Task:ExecuteWithThreadLocal(Task&) System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() System.Threading.ThreadPoolWorkQueue:Dispatch() System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()

CloudSpatialException at Microsoft.Azure.SpatialAnchors.NativeLibraryHelpers.CheckStatus (System.IntPtr handle, Microsoft.Azure.SpatialAnchors.status value) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession+<>c__DisplayClass66_0.b__0 () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---

at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__7_0 (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---

at Microsoft.Azure.SpatialAnchors.Unity.SpatialAnchorManager.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run (System.Threading.Tasks.Task ignored, System.Boolean canInlineContinuationTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.TrySetException (System.Object exceptionObject) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__7_0 (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---

at Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase.SaveCurrentObjectAnchorToCloudAsync () [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run (System.Threading.Tasks.Task ignored, System.Boolean canInlineContinuationTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.TrySetException (System.Object exceptionObject) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.Azure.SpatialAnchors.Unity.SpatialAnchorManager.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run (System.Threading.Tasks.Task ignored, System.Boolean canInlineContinuationTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.TrySetException (System.Object exceptionObject) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__7_0 (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:OnSaveCloudAnchorFailed(Exception) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:OnSaveCloudAnchorFailed(Exception) Microsoft.Azure.SpatialAnchors.Unity.Examples.d39:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageTwo() System.Threading.Tasks.Task:Finish(Boolean) System.Threading.Tasks.Task:TrySetException(Object) System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetException(Exception) System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException(Exception) Microsoft.Azure.SpatialAnchors.Unity.d39:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageTwo() System.Threading.Tasks.Task:Finish(Boolean) System.Threading.Tasks.Task:TrySetException(Object) System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetException(Exception) System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException(Exception) Microsoft.Azure.SpatialAnchors.d66:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.<>c:<.cctor>b7_0(Object) UnityEngine.WorkRequest:Invoke() UnityEngine.UnitySynchronizationContext:Exec() UnityEngine.UnitySynchronizationContext:ExecuteTasks()

Failed to save anchor Microsoft.Azure.SpatialAnchors.CloudSpatialException at Microsoft.Azure.SpatialAnchors.NativeLibraryHelpers.CheckStatus (System.IntPtr handle, Microsoft.Azure.SpatialAnchors.status value) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession+<>c__DisplayClass66_0.b__0 () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---

at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__7_0 (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---

at Microsoft.Azure.SpatialAnchors.Unity.SpatialAnchorManager.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run (System.Threading.Tasks.Task ignored, System.Boolean canInlineContinuationTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.TrySetException (System.Object exceptionObject) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__7_0 (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---

at Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase.SaveCurrentObjectAnchorToCloudAsync () [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run (System.Threading.Tasks.Task ignored, System.Boolean canInlineContinuationTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.TrySetException (System.Object exceptionObject) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.Azure.SpatialAnchors.Unity.SpatialAnchorManager.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run (System.Threading.Tasks.Task ignored, System.Boolean canInlineContinuationTask) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.FinishStageTwo () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.TrySetException (System.Object exceptionObject) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException (System.Exception exception) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession.CreateAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__7_0 (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase:OnSaveCloudAnchorFailed(Exception) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsBasicDemoScript:OnSaveCloudAnchorFailed(Exception) Microsoft.Azure.SpatialAnchors.Unity.Examples.d39:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageTwo() System.Threading.Tasks.Task:Finish(Boolean) System.Threading.Tasks.Task:TrySetException(Object) System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetException(Exception) System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException(Exception) Microsoft.Azure.SpatialAnchors.Unity.d39:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageTwo() System.Threading.Tasks.Task:Finish(Boolean) System.Threading.Tasks.Task:TrySetException(Object) System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetException(Exception) System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException(Exception) Microsoft.Azure.SpatialAnchors.d66:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.<>c:<.cctor>b7_0(Object) UnityEngine.WorkRequest:Invoke() UnityEngine.UnitySynchronizationContext:Exec() UnityEngine.UnitySynchronizationContext:ExecuteTasks()

[XR] [MROpenXR][Info ][11:47:05.194617][tid:1228] OpenXRContext_OnEvent_XrEventDataInteractionProfileChanged EventType=XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED session=2 leftHand=/interaction_profiles/microsoft/hand_interaction rightHand=/interaction_profiles/microsoft/hand_interaction [XR] [MROpenXR][Info ][11:47:06.426032][tid:1228] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_VISIBLE [XR] [4648] [11:47:06.426][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_FOCUSED->XR_SESSION_STATE_VISIBLE session=2 time=5496252740364 [XR] [MROpenXR][Info ][11:47:08.793329][tid:1228] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_SYNCHRONIZED [XR] [4648] [11:47:08.793][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_SYNCHRONIZED session=2 time=5498595078697 [XR] [MROpenXR][Info ][11:47:08.794391][tid:1228] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_STOPPING [XR] [4648] [11:47:08.794][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING session=2 time=5498595091041 [XR] [MROpenXR][Info ][11:47:08.808071][tid:1228] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_IDLE [XR] [4648] [11:47:08.810][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE session=2 time=5498638499218 [XR] [MROpenXR][Info ][11:47:10.162615][tid:1228] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_READY [XR] [4648] [11:47:10.162][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY session=2 time=5499833237552 [XR] [MROpenXR][Info ][11:47:10.164328][tid:1228] ViewConfigurationSettings_PrimaryStereoEnabled [XR] [MROpenXR][Info ][11:47:10.164397][tid:1228] ViewConfigurationSettings_OnSessionBegan_SecondaryBeginInfo EnabledSecondaryViewConfigurationCount=1 [XR] [MROpenXR][Info ][11:47:10.164443][tid:1228] ViewConfigurationSettings_OnSessionBegan_EnabledSecondaryViewConfiguration EnabledSecondaryViewConfiguration=XR_VIEW_CONFIGURATION_TYPE_SECONDARY_MONO_FIRST_PERSON_OBSERVER_MSFT [XR] [MROpenXR][Info ][11:47:10.164509][tid:1228] LocatableCameraProvider_Registered [XR] [MROpenXR][Verbose][11:47:10.164612][tid:1228] MicrosoftOpenXRPlugin_OnSubsystemsStarting NativeLibToken=HandTracking [XR] [MROpenXR][Verbose][11:47:10.164672][tid:1228] MicrosoftOpenXRPlugin_OnSubsystemsStarting NativeLibToken=HoloLens [XR] [MROpenXR][Verbose][11:47:10.164721][tid:1228] MicrosoftOpenXRPlugin_OnSubsystemsStarting NativeLibToken=Controller [XR] [MROpenXR][Info ][11:47:10.394895][tid:1228] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_SYNCHRONIZED [XR] [4648] [11:47:10.395][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED session=2 time=5500047026354 [XR] [MROpenXR][Info ][11:47:10.395283][tid:1228] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_VISIBLE [XR] [4648] [11:47:10.395][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE session=2 time=5500047032552 [XR] [MROpenXR][Info ][11:47:13.682165][tid:1228] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_FOCUSED [XR] [4648] [11:47:13.682][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED session=2 time=5503473267968 [XR] [4648] [11:47:13.682][Info ]

a58759578 commented 1 year ago

@darax Could you please help me check this issue?