Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Misc > API/Runtime/CoreUObject/Misc/FPackageName > API/Runtime/CoreUObject/Misc/FPackageName/DoesPackageExist
Deprecated * Deprecated. UPackage::Guid has not been used by the engine for a long time. Call DoesPackageExist without a Guid.
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
| Include | #include "Misc/PackageName.h" |
static bool DoesPackageExist
&40;
const FString & LongPackageName,
const FGuid &42; Guid,
FString &42; OutFilename,
bool InAllowTextFormats
&41;
Remarks
Checks if the package exists on disk. true if the specified package name points to an existing package, false otherwise.
Parameters
| Name | Description |
|---|---|
| LongPackageName | Package name. |
| Guid | If nonnull, and the package is found on disk but does not have this PackageGuid in its FPackageFileSummary::Guid, false is returned |
| OutFilename | Package filename on disk. |
| InAllowTextFormats | Detect text format packages as well as binary (priority to text) |