Navigation
API > API/Runtime > API/Runtime/CoreUObject
Represents the result of saving a package
| Name | ESavePackageResult |
| Type | enum |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Package.h |
| Include Path | #include "UObject/Package.h" |
Syntax
enum ESavePackageResult
{
Success,
Error,
Canceled,
ContainsEditorOnlyData,
ReplaceCompletely,
GenerateStub,
MissingFile,
ValidatorError,
ValidatorSuppress,
EmptyRealm,
Timeout,
}
Values
| Name | Remarks |
|---|---|
| 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 |
| 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 |
| MissingFile | [When cooking] The file requested (when cooking on the fly) did not exist on disk |
| ValidatorError | Result from ISavePackageValidator that indicates an error. |
| ValidatorSuppress | Result from ISavePackageValidator that suppresses the save but is not an error. |
| EmptyRealm | Internal save result used to identify a valid empty internal save realm to skip over. |
| Timeout | SavePackage is blocked by an asynchronous operation, so it quickly aborted. |