The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

+1 vote

Hi, I tried running an exported project. In the editor it was working fine, same with exporting, it created an exe file and a pck file as expected. However, the exe file is 0 KB and when I try to run it, I get a "this app can't run on your pc" message, despite that it worked fine in the editor. I tried exporting a test project that had only one empty node (Node2d) and still got the same message. When I tried to embed the pck file I got a "executable file header is corrupted" by the engine. Any ideas?

in Engine by (13 points)

I have the exact same situation but my project is a total of 53 MB so the size can't be the problem. However I get the exact same situation being either an error message when exporting with "embed pck" enabled or an exported but empty .exe file that can't run and a separate pck file. Any ideas?

1 Answer

0 votes

There is an issue if your game files are too large (around 2.1 Gb) which causes this error. If this is the problem you are facing I am afraid the only answer I know of would be splitting the project out into various .pck files to attach to the main game.

https://docs.godotengine.org/en/stable/tutorials/export/exporting_pcks.html

by (3,328 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.