I figure out the root cause, but still struggle to understand why.
Aside from this, I was running debugging
Task.detached { @MainActor in
Task {
try await session.run([worldTracking])
for await update in worldTracking.anchorUpdates {
switch update.event {
case .added, .updated:
print("Anchor position updated.")
case .removed:
print("Anchor position now unknown.")
}
}
}
if I stop this, I can move around. I thought above code is just printing out log,
But is there any conflict? or any update that it does due to this?
Post
Replies
Boosts
Views
Activity
Actually, it was same behavior within the Composer Pro. And object size needed to get scaled down to see it was actually sticking to the anchor.