How to mount a pak file at Game Content Directory?
For now, I can mount a pak file at Engine Content Directory and then load asset from it. (path is "/Engine/AssetName.AssetName")
When I change the mount point to Game Content Directory (FPaths::GameContentDir()), the mount method return success, but I just can not load asset.
The Error logs are something like:
Can anybody tell me how to mount a pak file at Game Content Directory? Or is there a way to let the engine auto load and mount my pak file at start ? (I use UnrealPak.exe to generate pak file)
Any help will be appreciate!
asked Mar 11 '17 at 09:07 AM in C++ Programming
This is the code I'm using. Please note since 4.15 I'm having a crash on Un mount, but the mount is working still.
The important bit for you is probably here:
answered May 02 '17 at 03:57 PM
The unmount crash was fixed by calling:
answered May 23 '17 at 11:29 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here