Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/LoadPackageAsync
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncPackageLoader.cpp |
int32 LoadPackageAsync
(
const FString & InName,
const FGuid * InGuid
)
Remarks
Asynchronously load a package and all contained objects that match context flags. Non-blocking. Use this version for convenience when you just need to load a package without notification and with default behavior from a packagename/filename. Unique ID associated with this load request (the same package can be associated with multiple IDs).
Parameters
| Name | Description |
|---|---|
| InName | PackageName or LocalFilePath of package to load. Must be a mounted name/path. The package is created if it does not already exist. |
| InGuid | GUID of the package to load, or nullptr for "don't care" |