UAssetManager::NormalizePackagePath

Normalize a package path for use in asset manager, will remove duplicate // and add or remove a final slash as desired

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h

Include

#include "Engine/AssetManager.h"

Source

/Engine/Source/Runtime/Engine/Private/AssetManager.cpp

Syntax

static void NormalizePackagePath
(
    FString & InOutPath,
    bool bIncludeFinalSlash
)

Remarks

Normalize a package path for use in asset manager, will remove duplicate // and add or remove a final slash as desired