[QoL] Automatically reduce project download sizes #7114
Replies: 2 comments 2 replies
-
Something like this has come up before. The closer I could find is #1001 I believe right now this feature requires more export templates (variations with and without 3D). Details
Also, export templates for every combination of features we want to make this with. Which at some point means that it is better to have Godot download its source code an automate the template build process. In fact, the day that C# does not require a separate build might come. But not this evening. If this is done for only one feature, 3D is likely the best option. By the way, without the checks, just offering the developer to export without 3D would go a long way (the developer likely knows if they are using 3D, and may also test with and without 3D to check if it causes problems). Even if Godot checks, I would want the developer to be able to decide. So the work flow I would want would be:
|
Beta Was this translation helpful? Give feedback.
-
I asked for something similar for WASM export and was told this requires recompiling export templates and providing them to end-users yourself. So... not quite automatic. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was reading the manual where I found that you can disable the 3D engine and disable advanced GUI objects to reduce the size of you project. My idea is for Godot to do this automatically.
When the user exports the project (in any format), Godot should check for any object, node, script, etc in the 3D space. If there is none, it will remove the 3D engine from the download to reduce the size of the download. The same could be done with advanced GUI objects, where if the project doesn’t use them, they could automatically be disabled.
Beta Was this translation helpful? Give feedback.
All reactions