|Attention||Topic was automatically imported from the old Question2Answer platform.|
I’ve hammered out all the errors that were in my game but now I have one final problem. In the editor, my game works perfectly fine without any errors in the debugger menu and the Godot terminal (or whatever it’s called). But when I export the game and try to launch it, it crashes immediately. I’ve brought this up on another post of mine and someone tested it out on their computer and said that it launched fine for them. I’ve tried exporting and launching it on two different computers with the same result. Here’s a screenshot of the debugger and my export settings and the project itself:
It works fine for me. There is one thing I can think of:
When you export for Windows, you get two files, one being the shortcut of the game (the one with the icon) and the other being a .pck file. Under no circumstances should you separate those two files. Are you sure they are both in the same directory when you try to run the game?
johnygames | 2020-01-05 00:02
I just had the same problem, read JohnnyGames’ comment, and his solution worked: But I can add to it! My project has a config.ini file which stores user settings between sessions. That turned out to be the missing material, so my exported file is just the .exe, .pck, and .ini files.
So if your project exports to an external file, that file has to be copied to the exported folder manually.
Heff-Money | 2021-12-27 21:24