Got incorrect results when following the Preparing Assets for Chunking guide

I tried to follow the guide on Preparing Assets for Chunking here:
https://dev.epicgames.com/documentation/en-us/unreal-engine/preparing-assets-for-chunking-in-unreal-engine?application_version=5.3

But as you can see from the screenshots, I didn’t get the same filesizes and I think paragon assets would be bigger than 1kb. My Assets Audit tool also shows none of the chunks.

I must have done something incorrectly, but I am trying to learn about creating patches and DLC, and this is not off to a good start if I can’t even tell what I did wrong here. I think it might have something to do with how I set up my custom profile for Project Launcher. The guide didn’t say what to do in order to cook the chunks, so I did my best to figure it out. Maybe someone here can help me understand.




Okay, I found out from further reading that I have to click Add Assets in the Asset Audit tool, and then the Chunks appear, and they are all listed at the expected sizes if I use the Size Map.

However, that still doesn’t explain why in my staging Paks folder chunks 1002 and 1003 are so tiny. I don’t think we can fit a whole Paragon asset in to 1 KB.

hi, you have to specify the map(level) in “packaging” → “List of maps to include in a packaged build” otherwise pak wouldn’t package your asserts…

Thank you :slight_smile: I’ll check on that.
I think that should be covered by the PrimaryAssetLabels I added to each character in the PatchingDemo project though, since each character comes with an Animation Test Map.
But maybe that only counts for patches? IDK, I’m new to all this stuff which is why I’m trying to go through the DLC and patching and Chunking, etc. guides in the first place.
The guide showed much bigger files in the Paks folder than I’m getting, and the guide only showed including the Boris, Krunch, and Khaimera assets, not the AnimationTestMaps or other stuff…

I found a warning in the Project Launcher logs though:
LogCook: Warning: Multiple packages found for path Boris; it will not be added. Specify the full LongPackageName. Packages found:
/Game/ParagonBoris/Characters/Heroes/Boris/Meshes/Boris
/Game/ParagonBoris/Characters/Maps/Boris
/Game/ParagonBoris/Audio/Boris

And logs following the same pattern for the other two Paragon characters.
So maybe what I need to do is figure out what a LongPackageName and where I’m supposed to specify it? If it’s not being added that would explain why the Paks are in the Kilobytes and not the Gigabytes or at least tens or hundreds of Megabytes I was expecting.

Here’s the full log from the last attempt, in which I changed the ProjectLauncher to use Shipping build and tried to change some of the checkboxes so it would be more like an initial release build and not a patch, yet. Maybe that will get the full Paks? Once I figure out the LongPackageName problem that is…
PatchDemoProjectLauncher.log (83.3 KB)

So maybe they forgot to mention adding the AnimationTestMaps for each character in the guide at

?

I could try doing that. I’ll know if it worked if my Paks folder looks like theirs:

Well, including those maps in the maps list of the Packaging section of the Project Settings made zero changes to the Paks folder! This time I tried building without using the Project Launcher or my custom profile. It makes me wonder if it’s even putting anything in the Paks folder after the first time. They’re still weirdly small and don’t match the guide’s screenshot in terms of filesize at all.
But I saw the output window building every little piece of every character and all their shaders etc. So where in the world did it put them?

I deleted the project and started over.
This time I didn’t try to do anything more than the guide said to do. I simply used the Platforms > Windows > Cook Content action, which didn’t produce any Paks folder that I could find, so then I used the Platforms > Windows > Package Project action, and that produced a Paks folder but it has the same problem as before: Chunk IDs other than 0 are all 1KB files.

So I’m still stuck with incorrect chunks.

At least this time there was a folder created with the path the guide said it would have:

If everything is set up correctly, you will see the packaging files in your build directory, under /Windows/PatchingDemo/Content/Paks , when UE has finished packaging them. UE will name each of them for the Chunk ID that you designated, and they each will contain the assets for your three characters.

That didn’t happen last time, so maybe that’s progress. Now I have two paths with a Paks folder, one in Windows subfolder and one in Saved/StagedBuilds subfolder. But they are the same, with 1KB files related to chunk ID 1001.

And my Asset Audit tool, though it started empty in both cases, adds the Chunks I defined, to the view, when I click Add Chunks. However, only the Chunk ID shows. Nothing about size on disk etc.

What am I doing wrong? I didn’t get any chunk- or asset-related warnings this time.

I have a solution!
You were pointing me the right direction, @tootzoe1, when you said to include the maps in the list. I must not have picked the right ones, or I got my build config too messed up, but on a fresh retry of the project, I ticked the “Cook everything in the project content directory” checkbox and that solved the problem. That way it found all the maps that included the character assets.