Assets of The Season
Assets updates
Pak Loader Plugin

Pak Loader Plugin

Updated
2025-01-19
Free
Code Plugins
Engine version
5.4
Download type
Engine Plugin
File size
36.5 MB
Registration required
Description

The Pak Loader enables you to load Unreal .pak files at runtime.

This makes assets within that pak file available to be used at runtime. It does that by exposing Unreal's pak mounting functions to Blueprints and also in a more convenient way to C++.

For example you could use it for modding purposes where players can download pak files containing levels/map assets and then load that during runtime. Or an ArchViz application where users can download additional meshes.

Paks can contain any type of assets. Once the pak file is loaded Unreal can access all of the assets in it. This includes levels as well.

Due to how Unreal Engine works, .pak files are only intended to be loaded in packaged (non editor) builds.

 

You can find an example project and an example .pak file in the link below.

Read the documentation to learn about mounting pak files. If you are a new to Unreal this plugin might not be suitable for you, as mounting pak files is a non trivial thing.

 

To create pak files you can also use my other plugin PakCreator.

 

Features:

  • Mount/Unmount .pak files.

  • Register mount points to support references between pak assets.

  • Download (.pak) files via HTTP.

  • Load objects (all kind of assets).

  • Load classes (Blueprints).

  • Utility functions like GetMountedPakFilenames, GetFilesInPakDirectory, SHA1SUM, IsValidPakFile, etc. (see documentation)

 

Limitations:

  • Only tested on Windows x64. But works on other platforms as well (MacOS, Linux, Mobile)

  • IoStore is supported but note that this feature is mutual exclusive. Meaning either all of the pak files have IoStore or none.

  • Loading assets from mounted Pak files only works in packaged builds of your project. (Not in Editor)

  • You can't load unsigned Pak files if your game project has Pak signing enabled.

  • Loading pak files that have been created with a different engine version than your project might not load.

 

Documentation: https://drive.google.com/file/d/1zXasckO9Q9qDT02d3Dw0O--52Lsfc4Xj/view

 

Example Project:

UE 5.4 https://drive.google.com/file/d/12vDLiik3QmM-UQ40HeeajuxV9XQBjW1_/view

 

Technical Details

Number of Blueprints: 0

Number of C++ Classes: 5

Network Replicated: No

Supported Development Platforms: Windows x64

Supported Target Build Platforms: Windows x64

Code Modules:

  • Runtime Module: "PakLoader"

  • Classes: FPakLoader, UPakLoaderLibrary, UAsyncPakDownloader, FLogHelper

Comments
Comments is not yet
Add Comment
Please register
Other interesting assets