UAssetManager::GetPrimaryAssetIdForPackage

Sees if the package has a primary asset, useful if only the package name is available

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

virtual FPrimaryAssetId GetPrimaryAssetIdForPackage
(
    FName PackagePath
) const

Remarks

Sees if the package has a primary asset, useful if only the package name is available