IPackageResourceManager::DoesPackageExist

Report whether the package exists

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/PackageResourceManager.h

Include

#include "UObject/PackageResourceManager.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/PackageResourceManager.cpp

Syntax

bool DoesPackageExist
(
    const FPackagePath & PackagePath,
    FPackagePath * OutUpdatedPath
)

Remarks

Report whether the package exists

Returns

true if the package exists, else false

Parameters

Parameter

Description

PackagePath

The package to look for

OutUpdatedPath

If non-null and the package is found, PackagePath is copied into this path (noop if OutUpdatedPath == &PackagePath), and if the package exists, the specific extension found is set