XR_ERROR_VALIDATION_FAILURE The function usage was invalid in some way.

XR_ERROR_RUNTIME_FAILURE The runtime failed to handle the function in an unexpected way that is not covered by another error result.

XR_ERROR_OUT_OF_MEMORY A memory allocation has failed.

XR_ERROR_API_VERSION_UNSUPPORTED The runtime does not support the requested API version.

XR_ERROR_INITIALIZATION_FAILED Initialization of object could not be completed.

XR_ERROR_FUNCTION_UNSUPPORTED The requested function was not found or is otherwise unsupported.

XR_ERROR_FEATURE_UNSUPPORTED The requested feature is not supported.

XR_ERROR_EXTENSION_NOT_PRESENT A requested extension is not supported.

XR_ERROR_LIMIT_REACHED The runtime supports no more of the requested resource.

XR_ERROR_SIZE_INSUFFICIENT The supplied size was smaller than required.

XR_ERROR_HANDLE_INVALID A supplied object handle was invalid.

XR_ERROR_INSTANCE_LOST The XrInstance was lost or could not be found. It will need to be destroyed and optionally recreated.

XR_ERROR_SESSION_RUNNING The session is already running.

XR_ERROR_SESSION_NOT_RUNNING The session is not yet running.

XR_ERROR_SESSION_LOST The XrSession was lost. It will need to be destroyed and optionally recreated.

XR_ERROR_SYSTEM_INVALID The provided XrSystemId was invalid.

XR_ERROR_PATH_INVALID The provided XrPath was not valid.

XR_ERROR_PATH_COUNT_EXCEEDED The maximum number of supported semantic paths has been reached.

XR_ERROR_PATH_FORMAT_INVALID The semantic path character format is invalid.

XR_ERROR_PATH_UNSUPPORTED The semantic path is unsupported.

XR_ERROR_LAYER_INVALID The layer was NULL or otherwise invalid.

XR_ERROR_LAYER_LIMIT_EXCEEDED The number of specified layers is greater than the supported number.

XR_ERROR_SWAPCHAIN_RECT_INVALID The image rect was negatively sized or otherwise invalid.

XR_ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED The image format is not supported by the runtime or platform.

XR_ERROR_ACTION_TYPE_MISMATCH The API used to retrieve an action’s state does not match the action’s type.

XR_ERROR_SESSION_NOT_READY The session is not in the ready state.

XR_ERROR_SESSION_NOT_STOPPING The session is not in the stopping state.

XR_ERROR_TIME_INVALID The provided XrTime was zero, negative, or out of range.

XR_ERROR_REFERENCE_SPACE_UNSUPPORTED The specified reference space is not supported by the runtime or system.

XR_ERROR_FILE_ACCESS_ERROR The file could not be accessed.

XR_ERROR_FILE_CONTENTS_INVALID The file’s contents were invalid.

XR_ERROR_FORM_FACTOR_UNSUPPORTED The specified form factor is not supported by the current runtime or platform.

XR_ERROR_FORM_FACTOR_UNAVAILABLE The specified form factor is supported, but the device is currently not available, e.g. not plugged in or powered off.

XR_ERROR_API_LAYER_NOT_PRESENT A requested API layer is not present or could not be loaded.

XR_ERROR_CALL_ORDER_INVALID The call was made without having made a previously required call.

XR_ERROR_GRAPHICS_DEVICE_INVALID The given graphics device is not in a valid state. The graphics device could be lost or initialized without meeting graphics requirements.

XR_ERROR_POSE_INVALID The supplied pose was invalid with respect to the requirements.

XR_ERROR_INDEX_OUT_OF_RANGE The supplied index was outside the range of valid indices.

XR_ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED The specified view configuration type is not supported by the runtime or platform.

XR_ERROR_ENVIRONMENT_BLEND_MODE_UNSUPPORTED The specified environment blend mode is not supported by the runtime or platform.

XR_ERROR_NAME_DUPLICATED The name provided was a duplicate of an already-existing resource.

XR_ERROR_NAME_INVALID The name provided was invalid.

XR_ERROR_ACTIONSET_NOT_ATTACHED A referenced action set is not attached to the session.

XR_ERROR_ACTIONSETS_ALREADY_ATTACHED The session already has attached action sets.

XR_ERROR_LOCALIZED_NAME_DUPLICATED The localized name provided was a duplicate of an already-existing resource.

XR_ERROR_LOCALIZED_NAME_INVALID The localized name provided was invalid.

XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING The xrGetGraphicsRequirements* call was not made before calling xrCreateSession.

XR_ERROR_ANDROID_THREAD_SETTINGS_ID_INVALID_KHR xrSetAndroidApplicationThreadKHR failed as thread id is invalid. (Added by the XR_KHR_android_thread_settings extension)

XR_ERROR_ANDROID_THREAD_SETTINGS_FAILURE_KHR xrSetAndroidApplicationThreadKHR failed setting the thread attributes/priority. (Added by the XR_KHR_android_thread_settings extension)

XR_ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT Spatial anchor could not be created at that location. (Added by the XR_MSFT_spatial_anchor extension)