Quick answer: Export preset → Resources → Filters to exclude non-resource files: *.blend, *.psd, *.kra, *.tmp. Or move source files outside res:// entirely.
Game ships with the artist’s .psd and .blend files inside the PCK. Players can extract them. Source asset leak is bigger downloads and embarrassment.
The Symptom
Exported PCK contains source asset files. Storage waste; potential IP leak.
The Fix
Exclude filter on export preset.
Project → Export → Resources tab:
Filters to exclude non-resource files from export:
*.blend, *.psd, *.kra, *.bak, *.tmp
Wildcards. The matching files are stripped from the PCK.
Move sources outside the project. Cleaner long-term: keep source assets in a sibling folder (~/projects/MyGame/_source/) and export final assets into res://. Godot doesn’t see source files at all.
Verify with godot-pck-tool
# Install the CLI tool
godot-pck-tool list mygame.pck
Lists every file. Source extensions absent confirms exclusion.
Verifying
Build the export. Run godot-pck-tool list. No .psd, .blend, .kra entries. PCK size visibly smaller after exclusion.
“Filter sources. Or keep them outside res://. PCK ships clean.”
Related Issues
For Android export template, see Android template. For UID collision, see UID collision.
Filter excludes. PCK clean.