FPackageName::SearchForPackageOnDisk

Attempts to find a package given its short name on disk (very slow).

Windows
MacOS
Linux

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

Syntax

static bool SearchForPackageOnDisk
(
    const FString & PackageName,
    FString * OutLongPackageName,
    FString * OutFilename
)

Remarks

Attempts to find a package given its short name on disk (very slow).

Returns

true if the specified package name points to an existing package, false otherwise.

Parameters

Parameter

Description

PackageName

Package to find.

OutLongPackageName

Long package name corresponding to the found file (if any).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss