Download

Loading assets from .pak within the editor.

Hey guys. I’m trying to load assets in runtime from pak files. It works when i’m package the project, but i also need it to work in the editor for debugging and developing. Currently i need to package game after every change to see whats happen.
The way i load assets:

  1. Find and mount .pak file.
  2. Get references for the assets inside.
  3. Load assets using FStreamableManager.
    Editor log:
    LogLinker: Warning: Failed to load ‘/Game/DLC_1/MyModel’: Can’t find file.
    LogUObjectGlobals: Warning: Failed to find object ‘Object /Game/DLC_1/MyModel.MyModel’
    LogStreamableManager: Failed attempt to load /Game/DLC_1/MyModel.MyModel