Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Misc > API/Runtime/CoreUObject/Misc/FPackageName > API/Runtime/CoreUObject/Misc/FPackageName/DoesPackageExist
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
| Include | #include "Misc/PackageName.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
static bool DoesPackageExist
(
const FPackagePath & PackagePath,
FPackagePath * OutPackagePath
)
Remarks
Checks if the package exists on disk. PackagePath must be a mounted path, otherwise returns false true if the specified package name points to an existing package, false otherwise.
Parameters
| Name | Description |
|---|---|
| PackagePath | Package package. |
| OutPackagePath | If nonnull and the package exists, set to a copy of PackagePath with the HeaderExtension set to the extension that exists on disk. If not found, this variable is not written |