From 266001be6edc5b18977b8807562eb2f655347b48 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 24 Oct 2020 13:40:45 +0200 Subject: [PATCH] Document that "hidden" files and folders are never included in a PCK This closes https://github.com/godotengine/godot/issues/32826. --- about/troubleshooting.rst | 4 ++++ getting_started/workflow/export/exporting_projects.rst | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/about/troubleshooting.rst b/about/troubleshooting.rst index 76e3a9aac..13185f8d5 100644 --- a/about/troubleshooting.rst +++ b/about/troubleshooting.rst @@ -100,6 +100,10 @@ considered resources. For example, if you load ``test.json`` in the exported project, you need to specify ``*.json`` in the non-resource export filter. See :ref:`doc_exporting_projects_export_mode` for more information. +Also, note that files and folders whose name begin with a period will never be +included in the exported project. This is done to prevent version control +folders like ``.git`` from being included in the exported PCK file. + On Windows, this can also be due to :ref:`case sensitivity ` issues. If you reference a resource in your script with a different case than on the filesystem, loading will fail diff --git a/getting_started/workflow/export/exporting_projects.rst b/getting_started/workflow/export/exporting_projects.rst index 1aca18209..77497ad79 100644 --- a/getting_started/workflow/export/exporting_projects.rst +++ b/getting_started/workflow/export/exporting_projects.rst @@ -122,6 +122,12 @@ select every scene or resource you want to export. .. image:: img/expselected.png +.. note:: + + Files and folders whose name begin with a period will never be included in + the exported project. This is done to prevent version control folders like + ``.git`` from being included in the exported PCK file. + Exporting from the command line -------------------------------