Spatial perception needed when exporting anchors

25 September 2017

Today I learnt something about anchors I want to share real quick here because it might save you some headache. When working on a multilens application where you need to share / export anchors across devices, make sure you set the spatial perception capability. Even if you don’t really need spatial mapping data in your application specifically. Apparently to export the anchor it is required. If you don’t set it, you will run into an error saying: “Failed to create anchor AccessDenied 0”

Spacial Perception Capability setting in Unity

Take note that, if you don’t want to share your anchors and don’t need spatial mapping data, you don’t have to set this capability.