UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FLoadPackageAsyncOptionalParams Struct Reference

#include <UObjectGlobals.h>

Public Attributes

FName CustomPackageName { NAME_None }
 
TUniquePtr< FLoadPackageAsyncDelegateCompletionDelegate
 
TSharedPtr< FLoadPackageAsyncProgressDelegateProgressDelegate
 
EPackageFlags PackageFlags { PKG_None }
 
int32 PIEInstanceID { INDEX_NONE }
 
int32 PackagePriority { 0 }
 
const FLinkerInstancingContextInstancingContext { nullptr }
 
uint32 LoadFlags { LOAD_None }
 

Detailed Description

Optional parameters passed to the LoadPackageAsync function.

Member Data Documentation

◆ CompletionDelegate

TUniquePtr<FLoadPackageAsyncDelegate> FLoadPackageAsyncOptionalParams::CompletionDelegate

Non Thread-safe delegate to be invoked from game-thread on completion.

◆ CustomPackageName

FName FLoadPackageAsyncOptionalParams::CustomPackageName { NAME_None }

If not none, this is the name of the package to load into (and create if not yet existing). If none, the name is take from PackagePath.

◆ InstancingContext

const FLinkerInstancingContext* FLoadPackageAsyncOptionalParams::InstancingContext { nullptr }

Additional context to map object names to their instanced counterpart when loading an instanced package.

◆ LoadFlags

uint32 FLoadPackageAsyncOptionalParams::LoadFlags { LOAD_None }

Flags controlling loading behavior, from the ELoadFlags enum.

◆ PackageFlags

EPackageFlags FLoadPackageAsyncOptionalParams::PackageFlags { PKG_None }

Package flags used to construct loaded package in memory.

◆ PackagePriority

int32 FLoadPackageAsyncOptionalParams::PackagePriority { 0 }

Loading priority.

◆ PIEInstanceID

int32 FLoadPackageAsyncOptionalParams::PIEInstanceID { INDEX_NONE }

Play in Editor instance ID.

◆ ProgressDelegate

TSharedPtr<FLoadPackageAsyncProgressDelegate> FLoadPackageAsyncOptionalParams::ProgressDelegate

Thread-safe delegate to be invoked at different state of progress for the given package.


The documentation for this struct was generated from the following file: