/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h
Tries to convert a file or directory in game-relative package name format to the corresponding local path Game-relative package names can be a full package path (/Game/Folder/File, /Engine/Folder/File, /PluginName/Folder/File) or a relative path (Folder/File). Full package paths must be in a mounted directory to be successfully converted.
Whether the conversion was successful.
static bool TryConvertGameRelativePackagePathToLocalPath ( FStringView RelativePackagePath, [FString](API\Runtime\Core\Containers\FString) & OutLocalPath )