Build does export but crashes when running executable

Godot Version

V4.3 Stable Mono Official

Question

Hello! I am trying to export a windows project. Building seems to work just fine, but when I open the exe file it crashes almost immediately. I tried running it via the command line and it gives me the following error.

Does anyone know what the problem could be here?

Hi!

Never seen this one, but looks like a C# project compilation issue to me.
Maybe try to rebuild the C# solution, using Project > Tools > C# > Create C# solution, and confirm the override.

Also, maybe try to update to Godot 4.4 stable, although I don’t really think it’s related. If you don’t want to update your project to 4.4 for some reason, try temporarily just to see if that fixes the issue?

1 Like

Hi there,

Thank you so much! that actually worked. In addition to this I was working with the Serial library and readded it to the project. I think it might also be that something went wrong there last time I added it. I also updated it to godot 4.4 just in case.

1 Like