RealDocs

UAssetManager::GetEncryptionKeyAssetTagName

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

Description

Returns the asset registry tag name under which encrypted primary assets store their encryption key GUID, for use when querying asset registry tag data.

Caveats & Gotchas

  • Only relevant for projects using pak file encryption with per-asset encryption keys; most projects never need to read this tag.
  • Returns just the tag name string, not the key itself — you still need to look the GUID up via the asset registry and resolve it through the project's encryption key delegate.

Signature

static ENGINE_API FName GetEncryptionKeyAssetTagName();

Return Type

FName

Example

Reading the encryption key tag from asset data C++
FAssetData AssetData;
if (AssetRegistry.GetAssetByObjectPath(ObjectPath, AssetData))
{
	FString KeyGuidString;
	AssetData.GetTagValue(UAssetManager::GetEncryptionKeyAssetTagName(), KeyGuidString);
}

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.