docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRResultStatus.StatusCode

    Indicates whether the operation succeeded or failed as well as whether additional status information is available in nativeStatusCode.

    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public enum XRResultStatus.StatusCode
    Remarks

    The integer value of this enum has the following meanings:

    ValueMeaning
    Less than zeroThe operation failed with an error.
    ZeroThe operation was an unqualified success.
    Greater than zeroThe operation succeeded.

    Fields

    Name Description
    PlatformError

    Indicates that the operation failed with an error, and additional information is available in nativeStatusCode.

    PlatformQualifiedSuccess

    Indicates that the operation was successful, and additional information is available in nativeStatusCode.

    ProviderNotStarted

    Indicates that the operation failed because the provider was not started. This may be because you haven't enabled a necessary manager component, or because platforms-specific requirements to start the provider were not met.

    ProviderUninitialized

    Indicates that the operation failed because the provider was uninitialized. This may be because XR Plug-in Management has not yet initialized an XR loader, or because a platform-specific resource is not yet available.

    UnknownError

    Indicates that the operation failed with an unknown error, and no additional information is available.

    UnqualifiedSuccess

    Indicates that the operation was successful, and no additional information is available.

    ValidationFailure

    Indicates that the input parameters failed to meet Unity's validation requirements, and no additional information is available.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)