RealDocs

UAssetManager::DumpReferencersForPackage

function Engine Since unknown
#include "Engine/AssetManager.h"
Access: public Specifiers: static

Description

Logs the list of primary assets that manage each given package to the output log, useful for tracing why an asset is included in a cook or chunk.

Caveats & Gotchas

  • Logs to the output log rather than returning data; typically invoked via the "AssetManager.DumpReferencersForPackage" console command rather than called from game code.
  • Only reports referencers already known to the asset registry, so unsaved or unscanned packages won't show up.

Signature

static void DumpReferencersForPackage(const TArray<FString>& PackageNames)

Parameters

Name Type Description Default
PackageNames const TArray<FString>& Long package paths to log the referencers of, e.g. "/Game/Characters/Hero".

Return Type

void

Example

Dump referencers for a package C++
TArray<FString> Packages;
Packages.Add(TEXT("/Game/Characters/Hero"));
UAssetManager::DumpReferencersForPackage(Packages);

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.