UAssetManager::GetPackageChunkIds

For a given package and platform, return what Chunks it should be assigned to, games can override this as needed.

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 bool GetPackageChunkIds
(
    FName PackageName,
    const class ITargetPlatform * TargetPlatform,
    TArrayView< const int32 > ExistingChunkList,
    TArray< int32 > & OutChunkList,
    TArray< int32 > * OutOverrideChunkList
) const

Remarks

For a given package and platform, return what Chunks it should be assigned to, games can override this as needed. Returns false if no information found

Parameters

Parameter

Description

PackageName

Package to check chunks for

TargetPlatform

Can be used to do platform-specific chunking, this is null when previewing in the editor

ExistingChunkList

List of chunks that the asset was previously assigned to, may be empty

OutChunkList

List of chunks to actually assign this to

OutOverrideChunkList

List of chunks that were added due to override rules, not just normal primary asset rules. Tools use this for dependency checking

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