FPackageName::FindPackageFileWithoutExtension

Checks if a package can be found using known package extensions.

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 FindPackageFileWithoutExtension
(
    const FString & InPackageFilename,
    FString & OutFilename,
    bool InAllowTextFormats
)

Remarks

Checks if a package can be found using known package extensions.

Returns

true if the package could be found on disk.

Parameters

Parameter

Description

InPackageFilename

Package filename without the extension.

OutFilename

If the package could be found, filename with the extension.

InAllowTextFormats

Detect text format packages as well as binary (priority to text)

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