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"

Encryption/.pak signing broken?

Haven't had any issues with encryption/pak signing in 4.19, but as soon as I updated to 4.20 this issue arose.

Basically, despite the project settings being the same, it neither encrypts the .pak index or signs the .pak file. This results in the game not opening. When attempting to open it, I am greeted with the message box of:

 LowLevelFatalError [File:Unknown] [Line: 46]
 Couldn't find pak signature file

And indeed, the .sig file it's talking about doesn't exist. Despite the configurations matching up. Weird.

I decided to take a look into the build log, and two lines stood out to me:

 ProjectParams.ValidateAndLog: ShortProjectName=DungeonsAndHeroes
 ProjectParams.ValidateAndLog: SignedPak=False // <<<<<
 ProjectParams.ValidateAndLog: SignPak=
 ProjectParams.ValidateAndLog: SkipCook=False
 ProjectParams.ValidateAndLog: SkipCookOnTheFly=False
 ProjectParams.ValidateAndLog: SkipPak=False
 ProcessResult.StdOut:   LogPakFile: Display: 20 files requested encryption, but no AES key was supplied! Encryption was skipped for these files

I double checked my DefaultCrypto.ini and even cleared & regenerated the keys, but to no avail. I've deleted all binary/build/intermediate/etc. folders, but nothing. Heck, I recompiled UE4 from source - twice - but nothing. Now, I seek help on here. Does anyone know what's going on?

Product Version: UE 4.20
more ▼

asked Sep 01 '18 at 12:31 AM in Packaging & Deployment

avatar image

16 2 4 9

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

1 answer: sort voted first

Manually rebuilding UnrealPak has done the trick!

For anyone else facing this issue and interested in finding out what exactly is happening:

In 4.20, UE4 apparently added a new way of transmitting the encryption keys from the .ini to UnrealPak. Basically, they get temporarily stored in a Crypto.json file, hidden in the depths of your "Saved" folder.

This is passed via command line to UnrealPak using the -cryptokeys= parameter, which the 4.19 UnrealPak didn't understand (duh). Apparently, rebuilding the entire solution in Visual Studio, does in fact not rebuild the individual programs of UE4. The more you know!

At this point, I'd like to stress that I would've been completely lost and unable to fix this issue, had it not been for direct access to the engine's source code. BIG kudos to Epic for allowing us to dabble in the engine's inner workings!!

more ▼

answered Sep 01 '18 at 01:12 AM

avatar image

16 2 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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