#.exe file abruptly closing at startup

1 messages · Page 1 of 1 (latest)

jaunty perch
#

I made a 2d pong clone as a test and exporting and running the exe works perfectly for me, but when I send the .exe or even the entire game in a zip file to my friends, the window opens and closes after a second or two without displaying anything. My friend ran a troubleshoot and it showed "incompatible program". HEEEEEEELLLLLLLPPP me please 🙏🙏🙏

#

the dog is completely unrelated

sick arrow
#

That sounds like an OS-side problem.
Maybe even an antivirus messing with stuff (kinda common with unsigned software and the overzealous kinds of AVs)

They'd have to share their logs. But this sounds like an external issue so they may not be of much help.

#

Tell them to disable the antivirus while they test the game, see if that's the problem.

#

It could also be a plain Hardware incompatibility, in which case there isn't much to be done outside of trying to force Compatibility mode.

jaunty perch
#

also could u tell me how to see their logs and/or force compatibility mode?

sick arrow
#

Compatiblity mode should be used by default if the device can't support Vulkan. But you can go to Project>Settings>Drivers and force a specific driver for other modes.
The logs are in the %appdata%/Godot/app_userdata/game_name folder

But the fact that 2 people have the same problem sounds like Windows Defender is the one acting up (this also sounds like Windows 11?). Make sure to turn Windows Defender off and to run the game in Admin mode. Even then Windows itself may perform its own scan.

This is an OS-side thingy. So googling the problem may be more helpful.