Exported game only works with Debug enabled

Godot Version

4.2.2

Question

What it says in the title. When I export the game with the option “export with debug” ticked, it runs fine. When I disable that option, it exports without any errors, but the icon of the game is missing, and whenever I try to run it, I get an error reading “This app can’t run on your PC. To find a version for your PC, check with the software publisher”. I’m exporting and running on Windows.

What could be the problem here? Would be grateful for any help!

It’s possible the template got corrupted? Perhaps try re-downloading the export template…

2 Likes

Thank you! I have more issues with the exported version still, but I suppose I’ll make separate posts about it.