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 | Action Type Mismatch |
| ActionsetNotAttached | Actionset Not Attached |
| ActionsetsAlreadyAttached | Actionset Already Attached |
| AndroidThreadSettingsIdInvalidKHR | Android Thread Settings Id Invalid |
| AndroidThreadSettingsdFailureKHR | Android Thread Settings Failure |
| ApiLayerNotPresent | API Layer Not Present |
| ApiVersionUnsupported | API version Unsupported |
| CallOrderInvalid | Call Order Invalid |
| CreateSpatialAnchorFailedMSFT | Create Spatial Anchor Failed |
| EnvironmentBlendModeUnsupported | Environment Blend Mode Unsupported |
| EventUnavailable | Event Unavailable |
| ExtensionNotPresent | Extension Not Available |
| FeatureUnsupported | Feature Unsupported |
| FileAccessError | File Access Error |
| FileContentsInvalid | File Contents Invalid |
| FormFactorUnavailable | Form Factor Unavailable |
| FormFactorUnsupported | Form Factor Unsupported |
| FrameDiscarded | Frame Discarded |
| FunctionUnsupported | Function Unsupported |
| GraphicsDeviceInvalid | Graphics Device Invalid |
| HandleInvalid | Handle Invalid |
| IndexOutOfRange | Index Out of Range |
| InitializationFailed | Initialization Failure |
| InstanceLost | Instance Lost |
| LayerInvalid | Layer Invalid |
| LayerLimitExceeded | Layer Limit Exceeded |
| LimitReached | Limit Reached |
| LocalizedNameDuplicated | Localized Name Duplicated |
| LocalizedNameInvalid | Localized Name Invalid |
| LossPending | Connection Loss Pending |
| MaxResult | Max XR Result Value |
| NameDuplicated | Name Duplicated |
| NameInvalid | Name Invalid |
| OutOfMemory | Out of Memory |
| PathCountExceeded | Path Count Exceeded |
| PathFormatInvalid | Path Format Invalid |
| PathInvalid | Path Invalid |
| PathUnsupported | Path Unsupported |
| PoseInvalid | Pose Invalid |
| ReferenceSpaceUnsupported | Reference Space Unsupported |
| RuntimeFailure | Runtime Failure |
| SecondaryViewConfigurationTypeNotEnabledMSFT | Seccondary View Configuration Type Not Enabled |
| SessionLost | Session Lost |
| SessionNotFocused | No Session Focus |
| SessionNotReady | Session Not Ready |
| SessionNotRunning | Session Not Running |
| SessionNotStopping | Session Not Stopping |
| SessionRunning | Session Running |
| SizeInsufficient | Insufficient Size |
| SpaceBoundsUnavailable | Bounds Unavailable |
| Success | Success |
| SwapchainFormatUnsupported | Swapchain Rect Unsupported |
| SwapchainRectInvalid | Swapchain Rect Invalid |
| SystemInvalid | System Invalid |
| TimeInvalid | Time Invalid |
| TimeoutExpored | Timeout |
| ValidationFailure | Validation Failure |
| ViewConfigurationTypeUnsupported | View Configuration Type Unsupported |