docs.unity3d.com
    Show / Hide Table of Contents

    Enum ReturnCode

    Options for scriptable build pipeline return codes. Int values of these return codes are standardized to 0 or greater for Success and -1 or less for Error.

    Namespace: UnityEditor.Build.Pipeline
    Syntax
    public enum ReturnCode

    Fields

    Name Description Value
    Canceled

    Use to indicate that the operation was cancelled.

    Error

    Use to indicate that the operation encountered an error.

    Exception

    Use to indicate that the operation encountered an exception.

    MissingRequiredObjects

    Use to indicate that the operation failed because it was missing the required objects.

    Success

    Use to indicate that the operation suceeded.

    0
    SuccessCached

    Use to indicate that the operation suceeded.

    1
    SuccessNotRun

    Use to indicate that the operation suceeded but did not actually execute.

    2
    UnsavedChanges

    Use to indicate that the operation failed because there are unsaved scene changes.

    In This Article
    • Fields
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023