Quick answer: Generate a 64-hex key. Build custom export template with that key compiled in. Editor Settings → Encryption Key matches.

Encrypted export to .pck. Game launches with stock template. Validation fails: stock template has no key.

The Fix

# Generate key
$ openssl rand -hex 32
89ab...   # 64 hex chars

# Build custom export template (Linux)
$ scons platform=linuxbsd target=template_release \
    arch=x86_64 \
    SCRIPT_AES256_ENCRYPTION_KEY=89ab...

# Editor Settings
Editor → Editor Settings → Export:
  Encryption Key:    89ab...   # same hex string

# Export with the custom template + Encrypt PCK

Stock templates can’t decrypt. Build once, ship to all team members for matching results.

Verifying

Game launches; verbose log confirms PCK validated. Without matching template: error and quit.

“Same key. Custom template. PCK loads.”

Related Issues

For Android keystore, see keystore. For Resource UID, see UID.

Same key. Custom build. Pack loads.