FPackagePath::FromPackageNameUnchecked

Construct a PackagePath from a known valid LongPackageName [FName](API\Runtime\Core\UObject\FName)

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Misc/PackagePath.h

Include

#include "Misc/PackagePath.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Misc/PackagePath.cpp

Syntax

static FPackagePath FromPackageNameUnchecked
(
    FName InPackageName
)

Remarks

Construct a PackagePath from a known valid LongPackageName FName

Will be converted to a MountedPath when the LocalPath is required; if the package is not mounted at that point the LocalPath will be empty

Returns

The constructed PackagePath

Parameters

Parameter

Description

InPackageName

A valid LongPackageName, does not have to be mounted or existing