UAssetManager::GetPrimaryAssetPath

Gets the [FSoftObjectPath](API\Runtime\CoreUObject\UObject\FSoftObjectPath) for a primary asset type and name, returns invalid if not found

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

virtual FSoftObjectPath GetPrimaryAssetPath
(
    const FPrimaryAssetId & PrimaryAssetId
) const

Remarks

Gets the FSoftObjectPath for a primary asset type and name, returns invalid if not found

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