Enum XrResult
XR Results returned by XR subsystem callbacks
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public enum XrResult
Fields
| Name | Description |
|---|---|
| ActionTypeMismatch | The API used to retrieve an action’s state does not match the action’s type. |
| ActionsetNotAttached | A referenced action set is not attached to the session. |
| ActionsetsAlreadyAttached | The session already has attached action sets. |
| AnchorNotSupportedForEntityBD | The spatial entity does not support anchor. (Added by the |
| AndroidThreadSettingsFailureKHR |
|
| AndroidThreadSettingsIdInvalidKHR |
|
| AndroidThreadSettingsdFailureKHR |
|
| ApiLayerNotPresent | A requested API layer is not present or could not be loaded. |
| ApiVersionUnsupported | The runtime does not support the requested API version. |
| CallOrderInvalid | The call was made without having made a previously required call. |
| ColocationDiscoveryAlreadyAdvertisingMETA | Colocation advertisement has already been enabled. (Added by the |
| ColocationDiscoveryAlreadyDiscoveringMETA | Colocation discovery has already been enabled. (Added by the |
| ColocationDiscoveryNetworkFailedMETA | The network request failed. (Added by the |
| ColocationDiscoveryNoDiscoveryMethodMETA | The runtime does not have any methods available to perform discovery. (Added by the |
| ColorSpaceUnsupportedFB | The color space is not supported by the runtime. (Added by the |
| ComputeNewSceneNotCompletedMSFT | Compute new scene not completed. (Added by the |
| ControllerModelKeyInvalidMSFT | The controller model key is invalid. (Added by the |
| CreateSpatialAnchorFailedMSFT | Spatial anchor could not be created at that location. (Added by the |
| DisplayRefreshRateUnsupportedFB | The display refresh rate is not supported by the platform. (Added by the |
| EnvironmentBlendModeUnsupported | The specified environment blend mode is not supported by the runtime or platform. |
| EnvironmentDepthNotAvailableMETA | Warning: The requested depth image is not yet available. (Added by the |
| EventUnavailable | No event was available. |
| ExtensionDependencyNotEnabled | One or more of the extensions being enabled has dependency on extensions that are not enabled. |
| ExtensionDependencyNotEnabledKHR | Provided by |
| ExtensionNotPresent | A requested extension is not supported. |
| FacialExpressionPermissionDeniedML | Permission to track facial expressions was not granted (Added by the |
| FeatureAlreadyCreatedPassthroughFB | Trying to create an MR feature when one was already created and only one instance is allowed. (Added by the |
| FeatureRequiredPassthroughFB | Requested functionality requires a feature to be created first. (Added by the |
| FeatureUnsupported | The requested feature is not supported. |
| FileAccessError | The file could not be accessed. |
| FileContentsInvalid | The file’s contents were invalid. |
| FormFactorUnavailable | The specified form factor is supported, but the device is currently not available, e.g. not plugged in or powered off. |
| FormFactorUnsupported | The specified form factor is not supported by the current runtime or platform. |
| FrameDiscarded | A frame has been discarded from composition. |
| FunctionUnsupported | The requested function was not found or is otherwise unsupported. |
| FutureInvalidEXT | Returned by completion function to indicate future is not valid. (Added by the |
| FuturePendingEXT | Returned by completion function to indicate future is not ready. (Added by the |
| GraphicsDeviceInvalid | The given graphics device is not in a valid state. The graphics device could be lost or initialized without meeting graphics requirements. |
| GraphicsRequirementsCallMissing | The |
| HandleInvalid | A supplied object handle was invalid. |
| HintAlreadySetQCOM | Tracking optimization hint is already set for the domain. (Added by the |
| IndexOutOfRange | The supplied index was outside the range of valid indices. |
| InitializationFailed | Initialization of object could not be completed. |
| InstanceLost | The |
| InsufficientResourcesPassthroughFB | There were insufficient resources available to perform an operation. (Added by the |
| LayerInvalid | The layer was NULL or otherwise invalid. |
| LayerLimitExceeded | The number of specified layers is greater than the supported number. |
| LimitReached | The runtime supports no more of the requested resource. |
| LocalizationMapAlreadyExistsML | The map being imported already exists in the system. (Added by the |
| LocalizationMapCannotExportCloudMapML | The map localization service cannot export cloud based maps. (Added by the |
| LocalizationMapFailML | The map localization service failed to fulfill the request, retry later. (Added by the |
| LocalizationMapImportExportPermissionDeniedML | The com.magicleap.permission.SPACE_IMPORT_EXPORT permission was denied. (Added by the |
| LocalizationMapIncompatibleML | The localization map being imported is not compatible with current OS or mode. (Added by the |
| LocalizationMapPermissionDeniedML | The com.magicleap.permission.SPACE_MANAGER permission was denied. (Added by the |
| LocalizationMapUnavailableML | The localization map requested is not available. (Added by the |
| LocalizedNameDuplicated | The localized name provided was a duplicate of an already-existing resource. |
| LocalizedNameInvalid | The localized name provided was invalid. |
| LossPending | The session will be lost soon. |
| MarkerDetectorInvalidCreateInfoML |
|
| MarkerDetectorInvalidDataQueryML | The marker queried does not contain data of the requested type. (Added by the |
| MarkerDetectorLocateFailedML | The specified marker could not be located spatially. (Added by the |
| MarkerDetectorPermissionDeniedML | The com.magicleap.permission.MARKER_TRACKING permission was denied. (Added by the |
| MarkerIdInvalidVARJO | The specified marker ID is not valid. (Added by the |
| MarkerInvalidML | The marker id passed to the function was invalid. (Added by the |
| MarkerNotTrackedVARJO | Marker tracking is disabled or the specified marker is not currently tracked. (Added by the |
| MaxResult | Max XR Result Value |
| NameDuplicated | The name provided was a duplicate of an already-existing resource. |
| NameInvalid | The name provided was invalid. |
| NotAnAnchorHTC | The provided space is valid but not an anchor. (Added by the |
| NotInteractionRenderModelEXT | The provided XrRenderModelEXT was not created from a XrRenderModelIdEXT from |
| NotPermittedPassthroughFB | Requested functionality is not permitted - application is not allowed to perform the requested operation. (Added by the |
| OutOfMemory | A memory allocation has failed. |
| PassthroughColorLutBufferSizeMismatchMETA | The provided data buffer did not match the required size. (Added by the |
| PathCountExceeded | The maximum number of supported semantic paths has been reached. |
| PathFormatInvalid | The semantic path character format is invalid. |
| PathInvalid | The provided |
| PathUnsupported | The semantic path is unsupported. |
| PermissionInsufficient | Insufficient permissions. This error is included for use by vendor extensions. The precise definition of
|
| PermissionInsufficientKHR | Provided by |
| PlaneDetectionPermissionDeniedEXT | The permission for this resource was not granted. (Added by the |
| PoseInvalid | The supplied pose was invalid with respect to the requirements. |
| ReferenceSpaceUnsupported | The specified reference space is not supported by the runtime or system. |
| RenderModelAssetUnavailableEXT | The render model asset is unavailable. (Added by the |
| RenderModelGltfExtensionRequiredEXT | A glTF extension is required. (Added by the |
| RenderModelIdInvalidEXT | The render model ID is invalid. (Added by the |
| RenderModelKeyInvalidFB | The model key is invalid. (Added by the |
| RenderModelUnavailableFB | The model is unavailable. (Added by the |
| ReprojectionModeUnsupportedMSFT | The reprojection mode is not supported. (Added by the |
| RuntimeFailure | The runtime failed to handle the function in an unexpected way that is not covered by another error result. |
| RuntimeUnavailable | The loader was unable to find or load a runtime. |
| SceneCaptureFailureBD | The scene capture is failed, for example exiting abnormally. (Added by the |
| SceneComponentIdInvalidMSFT | Scene component id invalid. (Added by the |
| SceneComponentTypeMismatchMSFT | Scene component type mismatch. (Added by the |
| SceneComputeConsistencyMismatchMSFT | Scene compute consistency mismatch. (Added by the |
| SceneComputeFeatureIncompatibleMSFT | Scene compute feature incompatible. (Added by the |
| SceneMarkerDataNotStringMSFT | Marker does not encode a string. (Added by the |
| SceneMeshBufferIdInvalidMSFT | Scene mesh buffer id invalid. (Added by the |
| SecondaryViewConfigurationTypeNotEnabledMSFT | The secondary view configuration was not enabled when creating the session. (Added by the |
| SessionLost | The |
| SessionNotFocused | The session is not in the focused state. |
| SessionNotReady | The session is not in the ready state. |
| SessionNotRunning | The session is not yet running. |
| SessionNotStopping | The session is not in the stopping state. |
| SessionRunning | The session is already running. |
| SizeInsufficient | The supplied size was smaller than required. |
| SpaceBoundsUnavailable | The space’s bounds are not known at the moment. |
| SpaceCloudStorageDisabledFB | Cloud storage is required for this operation but is currently disabled. (Added by the |
| SpaceComponentNotEnabledFB | The required component is not enabled for this space. (Added by the |
| SpaceComponentNotSupportedFB | The component type is not supported for this space. (Added by the |
| SpaceComponentStatusAlreadySetFB | The component is already set to the requested value. (Added by the |
| SpaceComponentStatusPendingFB | A request to set the component’s status is currently pending. (Added by the |
| SpaceGroupNotFoundMETA | The group UUID was not be found within the runtime. (Added by the |
| SpaceLocalizationFailedFB | Anchors were downloaded from the cloud but failed to be imported/aligned on the device. (Added by the |
| SpaceMappingInsufficientFB | Anchor import from cloud or export from device failed. (Added by the |
| SpaceNetworkRequestFailedFB | The network request failed. (Added by the |
| SpaceNetworkTimeoutFB | Timeout occurred while waiting for network request to complete. (Added by the |
| SpaceNotLocatableEXT | The space passed to the function was not locatable. (Added by the |
| SpatialAnchorNameInvalidMSFT | The spatial anchor name provided was not valid (Added by the |
| SpatialAnchorNameNotFoundMSFT | A spatial anchor was not found associated with the spatial anchor name provided (Added by the |
| SpatialAnchorNotFoundBD | The spatial anchor was not found. (Added by the |
| SpatialAnchorSharingAuthenticationFailureBD | The spatial anchor sharing experienced an authentication failure. (Added by the |
| SpatialAnchorSharingLocaliztionFailBD | The spatial anchor sharing localization failed. (Added by the |
| SpatialAnchorSharingMapInsufficientBD | The spatial anchor sharing map is insufficient. (Added by the |
| SpatialAnchorSharingNetworkFailureBD | The spatial anchor sharing experienced a network failure. (Added by the |
| SpatialAnchorSharingNetworkTimeoutBD | The spatial anchor sharing network experienced a timeout. (Added by the |
| SpatialAnchorsAnchorNotFoundML | The anchor references was not found. (Added by the |
| SpatialAnchorsNotLocalizedML | Operation failed because the system is not localized into a localization map. (Added by the |
| SpatialAnchorsOutOfMapBoundsML | Operation failed because it is performed outside of the localization map. (Added by the |
| SpatialAnchorsPermissionDeniedML | The |
| SpatialAnchorsSpaceNotLocatableML | Operation failed because the space referenced cannot be located. (Added by the |
| SpatialBufferIdInvalidEXT | The specified spatial buffer id is invalid or does not exist in the spatial snapshot being used to query for the buffer data. (Added by the |
| SpatialCapabilityConfigurationInvalidEXT | The specified spatial capability configuration is invalid. (Added by the |
| SpatialCapabilityUnsupportedEXT | The specified spatial capability is not supported by the runtime or the system. (Added by the |
| SpatialComponentNotEnabledEXT | The specified spatial component is not enabled for the spatial context. (Added by the |
| SpatialComponentUnsupportedForCapabilityEXT | The specified spatial component is not supported by the runtime or the system for the given capability. (Added by the |
| SpatialEntityIdInvalidBD | The spatial entity id is invalid. (Added by the |
| SpatialEntityIdInvalidEXT | The specified spatial entity id is invalid or an entity with that id does not exist in the environment. (Added by the |
| SpatialPersistenceScopeIncompatibleEXT | The scope configured for the persistence context is incompatible for the current spatial entity. (Added by the |
| SpatialPersistenceScopeUnsupportedEXT | The specified spatial persistence scope is not supported by the runtime or the system. (Added by the |
| SpatialSensingServiceUnavailableBD | The spatial sensing service is unavailable. (Added by the |
| Success | Function successfully completed. |
| SwapchainFormatUnsupported | The image format is not supported by the runtime or platform. |
| SwapchainRectInvalid | The image rect was negatively sized or otherwise invalid. |
| SystemInvalid | The provided |
| SystemNotificationIncompatibleSkuML | Incompatible SKU detected. (Added by the |
| SystemNotificationPermissionDeniedML | The |
| TimeInvalid | The provided |
| TimeoutExpired | The specified timeout time occurred before the operation could complete. |
| TimeoutExpored | The specified timeout time occurred before the operation could complete. |
| UnexpectedStatePassthroughFB | The object state is unexpected for the issued command. (Added by the |
| UnknownPassthroughFB | Unknown Passthrough error (no further details provided). (Added by the |
| ValidationFailure | The function usage was invalid in some way. |
| ViewConfigurationTypeUnsupported | The specified view configuration type is not supported by the runtime or platform. |
| WorldMeshDetectorPermissionDeniedML | The world mesh detector permission was not granted. (Added by the |
| WorldMeshDetectorSpaceNotLocatableML | At the time of the call the runtime was unable to locate the space and cannot fulfill your request. (Added by the |