Pak File Loader Plugin

Hi Thanks for the response. I can’t get it working. And I really don’t understand why this whole thing should be so complex . But I mean on the UE4 level - EPIC!
First, I totally don’t understand why Epic don’t allow loading the pak in editor. This is a nighmare to debug an applications during development that depends on external pak.
Second, I can’t load the content even when running the build.
Here is what I do:

Loaded pak file - ok.
Mounted - ok.
List the files in the pak- also ok.
List the files in the pak directory where the materials I want to load reside - ok
But when I try to access an asset,such as material, it is not loaded.

Here is what I do:

I have UE project which I package into pak.
Its content folder looks like this:

…/…/…/MaterialLibrary/Content/AutomotiveMaterials/Materials/Exterior/BrakeRotor/

I get the listing of the material files inside ‘BrakeRotor’ dir correctly.Which means the pak has been loaded and its files are visible to the PakLoader.
But when I am loading a material assets it fails.
Here is the screenshot of how I load the material:

And my mount point is configured as follows:

I tried to play around with the paths,I verified the PakLoader recognizes ‘BrakeRotor’ directory as you see in the script but the material fails to load.

2 Likes