Closed Crystal-Shard closed 3 weeks ago
We fixed that in 3.6.1 too... See #2376
There may be various reasons why this is failing, not necessarily related to #2376.
I think two known common cases are:
But maybe the description is now missing? I'm not sure how to check that.
This may be checked by opening file's properties in windows explorer, and checking "Details" tab.
- Antivirus preventing Editor to modify a exe file;
It's probably this one. I notice that if I run the game within about five seconds after creating it, I get an error message from my antivirus (presumably, that it's still scanning). I should note that this does not happen with older versions of AGS.
This may be checked by opening file's properties in windows explorer, and checking "Details" tab.
If you mean the .EXE file, then it says e.g. Product Name = "Made with AGS" and it doesn't contain anything that I placed in General Settings.
If you try 3.6.1 there's also a fix for Windows Defender case - if it's other antivirus idnk, but at least we get better error reporting in 3.6.1...
@Crystal-Shard how easy it is to reproduce this problem? If that's like 5 times out of 10 when you rebuild the game, could you also try latest 3.6.1 release and see if it same keeps happening there?
It reliably happens about 10 times out of 10 with 3.6.0.
Using 3.6.1.24, I've tried a couple times and the error doesn't seem to occur.
Alright, I suppose some of the things we did there in 3.6.1 improved this situation.
For 3.6.0, I think, the workaround would be to add AGS Editor and/or game folder into antivirus / Defender exceptions.
Describe the bug Often, when I compile a game in AGS, it gives the error: "Unable to set EXE name/description: LoadLibrary failed". Nevertheless, the game appears to have been built successfully. But maybe the description is now missing? I'm not sure how to check that.
AGS Version 3.6.0
Game all
To Reproduce Steps to reproduce the behavior:
Expected behavior No error.
Desktop (please complete the following information):