x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UnrealPak seems lose lightmap?

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\AiFenXiangJia\AiFenXiangJia\Content\DLC\Map\Actor\ActorPak.uasset" "E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Content\DLC\Map\MapPak.umap" "E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Content\DLC\Map\Model\BoxPak.uasset" "E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Content\DLC\Map\Model\Box1Pak.uasset" "E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Content\DLC\Map\Mat\MatPak.uasset"

And another ResponseFile.txt for shipping is:

"E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Saved\Cooked\WindowsNoEditor\AiFenXiangJia\Content\DLC\Map\Actor\ActorPak.uasset" "E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Saved\Cooked\WindowsNoEditor\AiFenXiangJia\Content\DLC\Map\MapPak.umap" "E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Saved\Cooked\WindowsNoEditor\AiFenXiangJia\Content\DLC\Map\Model\BoxPak.uasset" "E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Saved\Cooked\WindowsNoEditor\AiFenXiangJia\Content\DLC\Map\Model\Box1Pak.uasset" "E:\WorkSpace\SVN\AiFenXiangJia\AiFenXiangJia\Saved\Cooked\WindowsNoEditor\AiFenXiangJia\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. alt text

This is when i run game in editor. alt text

This is when i run in the shipping game.Seems lose all lightmap... alt text 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.

Product Version: UE 4.12
Tags:
1.png (773.2 kB)
2.png (603.5 kB)
3.png (1.3 MB)
more ▼

asked Aug 18 '16 at 09:34 AM in Packaging & Deployment

avatar image

Verilog
6 4 3

avatar image Verilog Aug 18 '16 at 10:00 AM

I've found Lightmaps under World Settings->Lightmass->Lightmaps.

alt text

How can i pak them in my .pak file


This is my load code from pak file alt text


When i use UnrealPak.exe -Test commond, it says pak file healthy. alt text

4.png (21.4 kB)
6.png (9.3 kB)
7.png (67.2 kB)
avatar image Verilog Aug 22 '16 at 01:18 AM

Is there someone who can help me?

avatar image Verilog Aug 24 '16 at 05:14 AM

Still waiting...

avatar image Verilog Aug 30 '16 at 06:56 AM

.................................

avatar image edwardwen Oct 21 '16 at 07:02 AM

Mark. I also meet this problem.

avatar image Verilog Jan 12 '17 at 01:50 AM

We use zip to package the cooked files ,instead of unrealpak tool. But you may need unzip files when downloaded

avatar image ZouFS Jan 04 '17 at 11:51 AM

Has this issue been solved or not? 楼主的问题解决没有?

avatar image Verilog Jan 12 '17 at 01:45 AM

没解决,不过我们绕过了这个问题,没有用pak打包,用zip打包,客户端下载后解压

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question