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"

PkgInfo not working

Trying to look into the package for my project to find out why it's a gig, but I can't get PkgInfoCommandlet to work. Every project, including an empty one (no templates or other content), gives the same warnings and failure. I'm curious if it has anything to do with the TopDown files that don't exist (specifically asked about here: https://answers.unrealengine.com/questions/520464/looking-for-file-that-never-existed.html)

link text

Product Version: UE 4.13
Tags:
pkginfo2.txt (4.3 kB)
more ▼

asked Nov 07 '16 at 05:30 PM in Bug Reports

avatar image

NullBlack
110 8 9 13

avatar image Samantha Sutton ♦♦ STAFF Nov 07 '16 at 09:13 PM

NullBlack,

Please re-verify your engine version, delete the intermediate and saved folders from your project and disable all extra plugins from the engine. Once you've done that, please try to package again. If you run into the same error or another error, please upload those logs for me. Check to see if a newly created project has the same trouble.

Thanks!

avatar image NullBlack Nov 07 '16 at 10:03 PM

Empty is a newly created project. Have re-verified the engine: still fails with same messages. Even faking the file it's missing does nothing about the messages.

avatar image Samantha Sutton ♦♦ STAFF Nov 10 '16 at 10:25 PM

Is this happening in 4.13.2? Also, have you checked your 4.12 or 4.14 engine version to see whether or not the same issue occurs?

avatar image NullBlack Nov 12 '16 at 06:45 PM

This is with 4.13.2. Tried with 4.12.5 on a different, not yet upgraded, project: no warnings about the TopDown file, but still had warning about unrecognizable data.link text

pkginfo.txt (3.0 kB)
avatar image Samantha Sutton ♦♦ STAFF Nov 15 '16 at 07:54 PM

Delete this pak file: D:/My Documents/builds/WindowsNoEditor/AITest/Content/Paks/AITest-WindowsNoEditor.pak and try again. let me see the updated logs, please.

avatar image NullBlack Nov 15 '16 at 09:12 PM

here they are.

link text

link text

pkginfo.txt (3.0 kB)
aitest.log (248.0 kB)
avatar image Samantha Sutton ♦♦ STAFF Nov 17 '16 at 05:03 PM

It looks like your AITest.log built successfully. Does that packaged build work for you?

Do you have new logs from after you deleted the pak file: D:/My Documents/builds/WindowsNoEditor/AITest/Content/Paks/AITest-WindowsNoEditor.pak (such as from 11/18/2016)?

Thanks!

avatar image NullBlack Nov 17 '16 at 06:13 PM

yes the build works; that was never the problem. The problem is PkgInfo isn't working. I'm trying to determine if there's a way to reduce the size of a build, and the only ways to figure out what can be removed appear to be PkgInfo and brute force. Unless there's a third option, I need PkgInfo to work.

Both of those logs are from after deleting the pak file.

avatar image Samantha Sutton ♦♦ STAFF Nov 21 '16 at 07:19 PM

Could you explain exactly how you're setting them up and how you're implementing them? Are you following our UDK documentation by any chance?

If you follow the Reducing APK Package Size documentation, this should guide you to a smaller APK size for your Android build. Blacklisting files in your folder will definitely help, without having to delete them from your project folder.

avatar image NullBlack Nov 21 '16 at 08:31 PM

I've tried to follow the UDK documentation when I can, but prior experience has left me with little confidence in the accuracy or currency of said documentation.

Did not know about the Saved/Cooked folder; hopefully means I don't need PkgInfo anymore. I am curious as to why the pak file for my project is approximately twice the sum of everything in the folder, though; is there something else that is added to the file, or is it just a consequence of the packaging process?

avatar image Samantha Sutton ♦♦ STAFF Nov 21 '16 at 09:28 PM

How exactly are you packaging your project? What changes in the project settings are you making?

If you use pakblacklisting, you'll be able to blacklist unused files out of your project instead of using commandlets. It'll also cause your project package out smaller builds because less data is included. When you're packaging your project, you're packaging all of the assets/files that you've included, as well as any files needed for the lighting, sound, blueprints and even the platform to work with. That would be why the pak files run on the larger side at times. If you're using the distribution build, it's also going to have more included from the engine, including logging than a shipping build would.

Please utilize our documentation page for additional information:

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey NullBlack,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

more ▼

answered Nov 29 '16 at 05:43 PM

(comments are locked)
10|2000 characters needed characters left
Your answer
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