Closed EmileDavidson closed 1 year ago
Hello - thank you for submitting this issue. Assigning to @XiangyuL-Microsoft (Tracking n#41322956)
CreateSessionAsync() also gives an Error out of nowhere: this Error only happened once after retrying (without closing the application) it worked. but then session.Start() gives an error
CreateSessionAsync();
2022/09/16 10:01:28.086 25445 25474 Error Unity System.NotSupportedException: The platform is not supported.
2022/09/16 10:01:28.086 25445 25474 Error Unity at Microsoft.Azure.SpatialAnchors.Unity.SpatialAnchorManager.CreateSessionAsync () [0x00000] in <00000000000000000000000000000000>:0
2022/09/16 10:01:28.086 25445 25474 Error Unity at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
2022/09/16 10:01:28.086 25445 25474 Error Unity at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0
2022/09/16 10:01:28.086 25445 25474 Error Unity at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0
2022/09/16 10:01:28.086 25445 25474 Error Unity at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0
2022/09/16 10:01:28.086 25445 25474 Error Unity --- End of stack trace from previous location where exception was thrown ---
2022/09/16 10:01:28.086 25445 25474 Error Unity
2022/09/16 10:01:28.086 25445 25474 Error Unity at Microsoft.Azure.SpatialAnchors.Unity.SpatialAnchorManager.StartSessionAsync () [0x00000] in <00000000000000000000000000000000>:0
2022/09/16 10:01:28.086 25445 25474 Error Unity at Sy
session.Start();
2022/09/16 10:07:26.964 25445 25474 Error native E0000 00:00:1663315646.964097 25474 scheduler.cc:278] INTERNAL: RET_CHECK failure (third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0 vs. 0)
2022/09/16 10:07:26.964 25445 25474 Error native Stack trace:
2022/09/16 10:07:26.964 25445 25474 Error native
2022/09/16 10:07:26.964 25445 25474 Error native E0000 00:00:1663315646.964195 25474 normal_detector_cpu.cc:231] Error graph_->WaitUntilIdle():INTERNAL: RET_CHECK failure (third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0 vs. 0)
2022/09/16 10:07:26.964 25445 25474 Error native === Source Location Trace: ===
2022/09/16 10:07:26.964 25445 25474 Error native third_party/mediapipe/framework/scheduler.cc:278
2022/09/16 10:07:26.964 25445 25474 Error native third_party/mediapipe/framework/calculator_graph.cc:845
2022/09/16 10:07:26.964 25445 25474 Error native
Also experiencing this problem, any sign of a fix? +1
Also experiencing this problem, any sign of a fix? +1
Haven't taken a look into it since my post, I switched to using persistent Google Cloud Anchors.
fixed in 2.14.1 (android permissions changed)
Awesome @darax will check it out
Hello! I am on 2.14.1 and I was still getting that error. The following fix worked for me: #227
Description
Getting an error while trying session.start(); catched exception ->
Steps to reproduce the issue note. it happened in the sample scene once (haven't ran a sample scene often)
Not possible to reproduce since it's random sometimes it just works other times it doesn't I also put a try-catch around it so it doesn't stop the app and made it so I could try again sometimes it works after a second try sometimes it doesn't work not even after trying it a 100 times
Expected behavior
This session.start() is in the StartSessionAsync() method copied from the demo so the normal session.start() logic so I can proceed with creating an anchor
Development information (please complete the following information)
AR Device information (please complete the following information):