Hello! I’m very new to Godot and have only been working with it a few months. Myself and a few friends are working on a simple 2D game and ran into some export issues. A couple months ago, we exported our first build using the windows preset downloaded from this site w/ default settings, and it exported fine. We exported another build a couple weeks ago, same settings, which was also fine.
We tried to export a third build yesterday, with what I thought were the same settings as before, but portions of the game functions are missing. The game itself works fine when we run it in Godot, and when we export it to the Godot project folder, but not when the file is moved or exported anywhere else which is why we think it’s an export error rather than a coding error. I’ve gotten an error for “No “x86_64” library found for GDExtension” referring to a GitHub plugin we installed, but when I export the build without the plugin, I don’t get a warning message but still have the same error.
Any leads or ideas anyone could give would be great, because I’m not having much luck finding posts about similar issues. Or if there’s any other information that would be helpful. Thanks!
Do you get any errors when running the export outside your godot folder?
You can try adding a new Windows Export option and export with the default settings. Just add a new Export Preset in your Export window and give it a try. Make sure to select Export Project... not Export PCK/ZIP.
Exports on Windows have problems like this if there are any uppercase letters or spaces in resources. Make sure all your folders and resources use snake_case then try your export again.
the console version does give a few errors, but it has the same problems as the application which does not give any error messages. unfortunately, exporting again had the same result. these were the errors given, although these particular files shouldn’t be connected to the game mechanics which aren’t loading
i did go through and rename some scenes/fix script references to all have snake_case, although i’m still being given the same errors when exporting. do you know if there’s anywhere else in the code that would need to be snake_case? all of the files i can see (besides the dialogic plug-in which is not referenced by the particular code that seems to be getting left out of the export) are lowercase with no spaces, so i’m unsure of where else to try fixing. thank you for the suggestion though! that’s good to know about the windows exports.
Are you loading any important files during runtime with FileAccess or DirAccess? Reading data from JSONs, text files or similar. Because if so, you either have to enable packing them with your export or use ResourceLoader instead.