Success | The operation succeeded. |
Failure | The operation failed. |
FailureInvalidAnchor | At least one anchor is invalid. |
FailureDataIsInvalid | Invalid data. |
FailureInsufficientResources | Resource limitation prevented this operation from executing. |
FailureStorageAtCapacity | Operation could not be completed until resources used are reduced or storage expanded. |
FailureInsufficientView | Insufficient view. |
FailurePermissionInsufficient | Insufficient permission. |
FailureRateLimited | Operation canceled due to rate limiting. |
FailureTooDark | Too dark. |
FailureTooBright | Too bright. |
FailureUnsupported | Save is not supported. |
FailurePersistenceNotEnabled | Persistence not enabled. |
Success | The operation succeeded. |
Failure | The operation failed. |
FailureInvalidAnchor | At least one anchor is invalid. |
FailureDataIsInvalid | Invalid data. |
FailureInsufficientResources | Resource limitation prevented this operation from executing. |
FailurePermissionInsufficient | Insufficient permission. |
FailureRateLimited | Operation canceled due to rate limiting. |
FailureUnsupported | Erase is not supported. |
FailurePersistenceNotEnabled | Persistence not enabled. |
Success | The operation succeeded. |
Failure | The operation failed. |
FailureDataIsInvalid | Invalid data. |
FailureInvalidOption | One of the FetchOptions was invalid. |
FailureInsufficientResources | Resource limitation prevented this operation from executing. |
FailureInsufficientView | Insufficient view. |
FailurePermissionInsufficient | Insufficient permission. |
FailureRateLimited | Operation canceled due to rate limiting. |
FailureTooDark | Too dark. |
FailureTooBright | Too bright. |
FailureUnsupported | Fetch is not supported. |
Success | The operation succeeded. |
Failure | The operation failed. |
FailureHandleInvalid | Invalid handle. |
FailureDataIsInvalid | Invalid data. |
FailureNetworkTimeout | A network timeout occurred. |
FailureNetworkRequestFailed | Network request failed. |
FailureMappingInsufficient | The device has not built a sufficient map of the environment to share the anchor(s). |
FailureLocalizationFailed | The device was not able to localize the anchor(s) being shared. |
FailureSharableComponentNotEnabled | Sharable component not enabled on the anchor(s) being shared. |
FailureCloudStorageDisabled | Sharing failed because device has not enabled the Share Point Cloud Data setting. |
FailureUnsupported | Anchor Sharing is not supported. |
async void CreateAnchor(Pose pose) {var anchor = await OVRAnchor.CreateSpatialAnchorAsync(pose);if (anchor == OVRAnchor.Null) {Debug.LogError("Anchor creation failed!");} else {// anchor is valid}}