Checking pak/uasset dependencies before loading

Hi,

we’re trying to make a modular pak downloading system where each pak only contains its own original content and dependencies (like for instance a master material) are stored in their own pak files. By doing this we’re able to greatly reduce the download size (we’ll have thousands of really small pak files), as well as being able to update only the master material’s pak and have all the other paks immediately updated.

But from what I’m seeing UE4 tends to treat pak files as independent entities. Is there a way to check for a pak’s dependencies before actually loading it in game (which would result in errors as maybe some required paks have not been downloaded yet)? Because, if that would be possible, I could name all my paks with an unique code and ask the server for that particular resource.

Bye,