.exe is not a valid Win32 application

I finally created my game, but when I build it and run the .exe file, it pop-ups a window that says that the .exe is not a valid Win32 application. Please, help! =/

did you included the Data folder with it?

the exe is just a launcher, the actual game is in the data folder, so if you move it or share it, also bring the data folder

Yes, I did, all the files from the game are with the executable, including the data! :frowning:

Did you build a 64-bit standalone and try to run on a 32-bit OS?

A quick google can give me:

You may see Windows error code 193 when you are starting a Windows Share Point server or a Windows Exchange server. The error message will also generate general Service Control Manager messages in your system logs, too.

For detail, please check Solution to Windows Error Code 193

Cheers,
Andy

… Are you serious?
Did you even look at the description right on that page?

Rather then OP may be trying to start up his unity game from an Exchange or Sharepoint Server it’s far more likely there’s a simple incompatibility bug or compilation flaw, and especially this type of error is way too generic for a site like that to even dare suggesting to just go and switch other filenames.

Wouldn’t be surprised if that “fix” breaks more since it’s a fix aimed at a platform that should only be ran by those who would already be able to solve this issue if it would be solved by a simple rename of SharePoint folder.

I think OP made a x86_64 build and like I also made the mistake the first time, assumed the x86 or x64 would be chosen automagically (it isnt :frowning: )