Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorEngine
Description
An async editor wrapper for UPackage::SaveAsync. Auto-adds files to source control when necessary
It is very important that any optional arguments passed via SaveArgs (i.e. ArchiveCookData, SavePackageContext) stay valid for the entire duration of the task.
| Name | SaveAsync |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
| Include Path | #include "Editor/EditorEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
UE::Tasks::TTask < FSavePackageResultStruct > SaveAsync
(
UPackage * InOuter,
UObject * InAsset,
const TCHAR * Filename,
const FSavePackageArgs & SaveArgs
)