I am trying to extract the chunk ids for the current map, but can’t seem to find this data anywhere. The simplest attempt is the one below, but I’ve also tried a number of methods on UAssetManager without ever seeing a chunk id other than -1. Is this information even available at runtime?
for (auto ChunkId : World->GetPackage()->GetChunkIDs()){
UE_LOG(LogTemp, Warning, TEXT("ChunkId: %d"), ChunkId);
ChunkIds.Add(MakeShared<FJsonValueNumber>(ChunkId));
}