ESavePackageResult

Represents the result of saving a package

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Package.h

Include

#include "UObject/Package.h"

Syntax

enum ESavePackageResult
{
    Success,
    Error,
    Canceled,
    ContainsEditorOnlyData,
    ReferencedOnlyByEditorOnlyData,
    ReplaceCompletely,
    GenerateStub,
    DifferentContent,
    MissingFile,
}

Values

Name

Description

Success

Package was saved successfully

Error

Unknown error occured when saving package

Canceled

Canceled by user

ContainsEditorOnlyData

[When cooking] Package was not saved because it contained editor-only data

ReferencedOnlyByEditorOnlyData

[When cooking] Package was not saved because it was referenced by editor-only properties

ReplaceCompletely

[When cooking] Package was not saved because it contains assets that were converted into native code

GenerateStub

[When cooking] Package was saved, but we should generate a stub so that other converted packages can interface with it

DifferentContent

[When cooking] When performing package diff, the package generated in memory was different to the one that existed on disk

MissingFile

[When cooking] The file requested (when cooking on the fly) did not exist on disk

Remarks

Represents the result of saving a package

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss