I have created some .pak files through UnrealPak.exe and i want to load umap and uasset from them at runtime.
When i load asset from pak file in editor, it seems work fine.
But when i packaged my project in shipping, something get wrong.
I create pak file for editor through
E:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\Win64>UnrealPak.exe D:\Pak\Paks\00.pak -create=d:\Pak\ResponseFile.txt cmd.
The ResponseFile.txt is:
“E:\WorkSpace\SVN.….…\Content\DLC\Map\Actor\ActorPak.uasset”
“E:\WorkSpace\SVN.….…\Content\DLC\Map\MapPak.umap”
“E:\WorkSpace\SVN.….…\Content\DLC\Map\Model\BoxPak.uasset”
“E:\WorkSpace\SVN.….…\Content\DLC\Map\Model\Box1Pak.uasset”
“E:\WorkSpace\SVN.….…\Content\DLC\Map\Mat\MatPak.uasset”
And another ResponseFile.txt for shipping is:
“E:\WorkSpace\SVN.….…\Saved\Cooked\WindowsNoEditor.…\Content\DLC\Map\Actor\ActorPak.uasset”
“E:\WorkSpace\SVN.….…\Saved\Cooked\WindowsNoEditor.…\Content\DLC\Map\MapPak.umap”
“E:\WorkSpace\SVN.….…\Saved\Cooked\WindowsNoEditor.…\Content\DLC\Map\Model\BoxPak.uasset”
“E:\WorkSpace\SVN.….…\Saved\Cooked\WindowsNoEditor.…\Content\DLC\Map\Model\Box1Pak.uasset”
“E:\WorkSpace\SVN.….…\Saved\Cooked\WindowsNoEditor.…\Content\DLC\Map\Mat\MatPak.uasset”
I create cooked asset through menu File->Cook Content for Windows.
This is preview look like when i edit level in editor.
This is when i run game in editor.
This is when i run in the shipping game.Seems lose all lightmap…
Did i miss pak some texture in pak file?
I’ve heard that UE put all lightmap in .umap or UE don’t support static light in a standalone pak file.
Please help me.