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"

Load asset from .pak file


I'm trying to load asset from .pak file, this pak have :

  • A Texture

  • A SkeletalMesh

  • A Skeleton

  • A PhysicsAsset

This is my project folder tree:

MyProject/Content/ :

  • PAK/ (contain "2286.pak")

  • UNPAK/

So I'm loading the .pak at runtime in the UNPAK/ folder but i'm not able to LOAD these assets to use them after...I tried different things to load them but every time I got errors like "File not found".

alt text

alt text

Here is the function and the output logs... I think they're not "loaded" properly 'cause when I put these assets into an other folder, save the project, quit and come back I can use "EngineUtils::FindOrLoadAssetsByPath" and it work... I think they're "cook".

What I really want is load a pak file and use the assets at runtime...

If someone have an idea on why it doesn't work... I will be really happy :D



Product Version: UE 4.16
unpak_bug.jpg (502.7 kB)
unpak_bug_3.jpg (292.4 kB)
more ▼

asked Jun 09 '17 at 02:23 PM in Packaging & Deployment

avatar image

21 2 5 7

avatar image nyudeb Jun 15 '17 at 09:02 AM

I also tried this method: https://answers.unrealengine.com/questions/348513/how-to-load-assets-from-a-pak-file-at-runtime.html

It's supposed to work but not really ...

avatar image nyudeb Jul 10 '17 at 08:19 AM

I don't think it's not possible to do it ! Please someone can help me?

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I found the solution ... I was just not on the right process. I am currently stocking my .uasset in a .zip that I download and that I unzip directly into the project. I then use these assets to construct my character.

I use this plugin to unzip my files : https://wiki.unrealengine.com/Zip_Utility_Plugin

more ▼

answered Jul 25 '17 at 09:03 AM

avatar image

21 2 5 7

avatar image lkav Dec 14 '17 at 11:40 AM

how do you download the zip files?

avatar image mseeds1 Apr 07 '18 at 02:30 AM

@nyudeb what is the solution? I have spent days on this

(comments are locked)
10|2000 characters needed characters left
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