Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Only 1 PAK Chunk is generated when packaged

Hey all!

I've been having a tough time getting packages to chunk in my one project. I was able to see the chunking work in ShooterGame and tried to copy the settings, but I'm not seeing the same results.

I've set up some Primary Asset Labels and set the GenerateChunks and Use Pak File on, but the only chunk that is generated is "pakchunk0-WindowsNoEditor.pak" and all of the content is placed in this one pak, when I expected it to be divided into 9 chunks. These are my settings:

alt text

This is what the asset audit for chunks looks like: alt text

And this is what the primary asset label audit looks like: alt text

What am I missing? Any advice or suggestions would be appreciated!

Product Version: UE 4.22
more ▼

asked Jun 23 '19 at 08:56 PM in Packaging & Deployment

avatar image

797 49 61 94

avatar image Grogger Jun 26 '19 at 11:25 PM

I'm still not able to get Primary Asset Labels to work, and I really want them to, but as some small progress, manually assigning a chunk with "Allow ChunkID Assignments" does actually generate a chunk for packages.

I'm still looking for insight if anyone could spare some!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

did you try a blank project?

I'm used PrimaryAssetLabel on my template (4.22.3) and it's working: alt text

chunk ID 0 - main map loading by default. id 1 and 2 just dummy map for testing.

also, I'm trying to add this to the ShooterGame, but there it's not works - probably because ShooterGameDelegates overriding.

capture1.png (385.0 kB)
more ▼

answered Jul 03 '19 at 12:06 PM

avatar image

481 18 17 26

avatar image Grogger Jul 03 '19 at 05:49 PM

Hey 6r0m, I have tried it in a blank project AND ShooterGame and I was actually able to get both to work. For Shooter, I only had to enable the "Generate Chunks" flag in the package options and everything else had already been set up for chunks.

I haven't really uncovered any new info about what's going wrong since I've posted, other than noticing if I look at the audit immediately after reloading the engine, it doesn't recognize any of the asset labels. It's not until I right click or open the labels that the audit will recognize them.

Thanks for the response and suggestion!

avatar image 6r0m Jul 03 '19 at 05:53 PM

excellent) are you able to get fourth chunk in a ShooterGame?

avatar image Grogger Jul 03 '19 at 07:15 PM

Got it! I wasn't able to generate a fourth package in ShooterGame, but as I was making an asset label for it, I noticed that the asset I created was a different type than the others. Turns out, I was creating the label wrong! I was making BP child classes of PrimaryAssetLabel, instead of starting with a DataAsset!

I thought I had been so diligent in reading the documentation and looking at the examples, playing around with every setting related to it... but I kept overlooking the way the labels were created.

Thank you very much for the suggestions, I can finally put this one to rest!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question