I am trying to use Patching by using chunking and then cooking them into .pak files. I am creating Primary Asset Labels for the characters as suggested in the Preparing Assets for Chunking | Unreal Engine Documentation tutorial.
This works correctly in the UE5 Early Access version and the chunks are visible inside the Asset Audit for both Editor and Windows platform after Packaging.
I’m using Unreal 5.1.1 and I’m still having this issue. It may be some wrong configuration or the fact the my game uses Lyra as the starting point. But I’ve tried many different things for a while now and nothing seems to work.
I am also trying to deal with this problem. It seems to work fine so long as it isn’t for plugin. I was able to make two levels, one titled “MainLevel” and the other titled “SecondaryLevel.” I also made two Primary Asset Labels, one called “MainContent” and the other labeled “SecondaryContent.” MainLevel was specified in MainContent, which had priority 1 and chunk ID 0. SecondaryLevel was specified in SecondaryContent, which had priority 1 and chunk ID 1.
With the Force One Chunk Per File option checked in the project settings, this worked as expected. However, as soon as I attempted to apply this sort of setup to Game Feature Data and assets used by the game feature plugin, nothing worked. It seems like there’s something going on with the way it deals with plugins that’s overriding the chunks I’ve assigned, but I can’t be sure…
EDIT: It seems like patching for Windows is all based on the platform-agnostic patching method found here? Which doesn’t really seem to make sense. There’s no reason a plugin shouldn’t be able to be contained in its own pak, and the thread here seems to suggest that it’s totally possible. But I can’t seem to figure it out. Why is windows so… windows?
EDIT:
The “Build DLC” option seems to work for making the plugin into its own pak file (sometimes requiring the “Include Engine Content” option), but the pak file doesn’t seem to load in automatically despite documentation saying that pak files in the /content/paks directory are automatically loaded. Very confusing… I also tried just using unrealpak.exe to manually make a pak of the relevant files, but that doesn’t seem to load in either. Not sure if that’s because the pak isn’t right or just that the game isn’t attempting to load it.
A modder here trying to mod a game with UE 5.1.1 and having the same issue with chunks not being generated no matter what I do - manual assignment or using primary asset labels.
Here’s how I resolved the problem finally:
In Editor Preferences, Experimental - Allow ChunkID Assignment set to on.
In Project Settings, Packaging - Use Pak File, Use Io Store, Generate Chunks, Chunk Hard References Only (important for modding), and finally, which seems the most important part, Cook everything in the project content directory (ignore list of maps below) - all those set to on (checked).
I’m also using Shipping and For Distribution.
In Asset Manager I deleted all the types to scan.
I manually assign my blueprints to chunks using right click, Asset actions, Assign to chunk.
And it finally works and my blueprints are placed into chunks I assign them to after packaging the project (Platforms, Windows, Package project).