Windows Export not working

Godot Version

4.3

Question

Hi all! I’ve run into a serious problem - the game I made is not exporting properly, the .exe file crashes upon launch. It works completely fine in the editor, and the exporting process does not throw any errors or warnings.

A blank project does export properly, but when I tried recreating my game again from scratch - it broke again. It seems to me that the project is not the issue, because problem persists with a fresh setup. Rendering is out of the question as well (all three options don’t change the outcome).

I’ve also tried reinstalling .NET SDK - didn’t help.

Export templates are fresh, downloaded like a week ago.

Project originally was in Godot 4.2.2, but updating to 4.3 did not do anything.

Attached are the screenshots of the errors that I get when I launch the game with console (both 4.2.2 and 4.3, the latter being more verbose, but the problem is the same).

I can link the repo here, but I doubt it’s the issue.


It indicates that the plugins your using are null, try to export your game without the plugins and run it, if the game runs properly then its your plugins that are causing the problem.

No plugins in this project (or any for that matter). I have found a temporary solution which I’ll post in a couple of minutes down below.

I solved the problem. The cause is still unknown - I am yet to commit the fix to the repo to compare the files. In short, the problem lies in the project.godot file. Making a new project and just copying everything to it (while deleting any .import files) just fixes the problem. What breaks the project is not clear, the errors aren’t verbose enough, but from my understanding it’s something to do with imported files. I have a couple .svg files that have been manually changed and some that appear to be broken in the editor (they look fine externally). But I couldn’t replicate the problem consistently - every single thing I thought would break the export, in fact, did not, so it’s still a mystery. Might be a solution in the project.godot, we’ll see.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.