Go to “Packaging” tab in the project settings. Click on the small down arrow at the bottom of packaging settings. Then in “list of maps to include in a packaged build”, add the map you want to package. All assets referenced to this map and assets referenced to those assets, etc. will be packaged but no other asset.
If you don’t add maps here, it will package everything which is in the content folder.
4 Likes