• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows I am not able to compile any game.

"cmd" /c subst Z: "C:\Users\HQ DEVZZ\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0860049s for command "cmd" /c subst Z: "C:\Users\HQ DEVZZ\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 07/22/2020 17:22:57
"cmd" /c subst Y: "C:\Users\HQ DEVZZ\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0800045s for command "cmd" /c subst Y: "C:\Users\HQ DEVZZ\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 07/22/2020 17:22:57
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-"

elapsed time 00:00:00.0950054s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-" started at 07/22/2020 17:22:57
Saving project to: C:\Users\HQ DEVZZ\Documents\GameMakerStudio2\1515\1515.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-" -j=8 -options="C:\Users\HQ DEVZZ\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run

Loaded Macros from C:\Users\HQ DEVZZ\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\1515_983DA08B\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\HQ DEVZZ\AppData\Roaming/GameMakerStudio2\user_1000000\local_settings.json
Options: C:\Users\HQ DEVZZ\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\1515_983DA08B\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="1515" /td="Y:/" /cd="Z:/1515_983DA08B" /zpuf="C:\Users\HQ DEVZZ\AppData\Roaming/GameMakerStudio2\user_1000000" /m=windows /tgt=64 /nodnd /cfg="default" /o="Y:/1515_3E6BC2B7_VM" /sh=True /optionsini="Y:/1515_3E6BC2B7_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\HQ DEVZZ\Documents\GameMakerStudio2\1515\1515.yyp" /preprocess="Z:/1515_983DA08B"
System.InvalidCastException: Specified cast is not valid.
at GMAssetCompiler.Program.(String )
at GMAssetCompiler.GMLCompile.()
at GMAssetCompiler.Program.(String[] )
EXCEPTION FILE - C:\Users\HQ DEVZZ\AppData\Local\Temp\7fade61a9ab54713b6d39d57612b36b0.yyg.saencryptedreport

X://bin/GMAssetCompiler.exe exited with non-zero status (-532462766)
elapsed time 00:00:01.1320647s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-" -j=8 -options="C:\Users\HQ DEVZZ\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 07/22/2020 17:22:57
"cmd" /c subst Z: /d

elapsed time 00:00:00.0830048s for command "cmd" /c subst Z: /d started at 07/22/2020 17:22:58
"cmd" /c subst Y: /d

elapsed time 00:00:00.0870049s for command "cmd" /c subst Y: /d started at 07/22/2020 17:22:58
"cmd" /c subst X: /d

elapsed time 00:00:00.0860049s for command "cmd" /c subst X: /d started at 07/22/2020 17:22:58
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.

I have 10GB free space in my C drive.
I cannot understand what is happening. Please help me.


Just a checklist of common things:
- Do you get the the error with VM, YYC or both?
- Did you clean (ctrl + F7) your project before compiling?
- Did you setup the GMS2 accordingly to the official guide? (also see here)


If you do not want to read the text about how I myself tried to solve this problem, then move to the last paragraph (I do not know English, so I use Google translator)

So, after I checked my computer to viruses, I decided to open Gamemaker and do something, but I didn't have to start the game.
I decided to look for a solution on different forums, but I did not find it, after that I decided to think about why the problem of compilation appears, but there are no errors in the appropriate tab. I remembered the fact that while the game is launched, the process "igor.exe" appears in the task dispatcher, but it did not turn it out there, then I reinstalled the program and found "igor.exe" in "C:\ProgramData\GameMakerStudio2\Cache\Runtimes\Runtime-\Bin" before it was not there

After that, I decided to start the game, but again the same problem was, I looked at this file again and I discovered it again, only then I guessed that his antivirus perceives as a malicious program, restored it and added as an exception, after that Earned

So, most likely your problem in the absence of the file "igor.exe" in the directory "C:\ProgramData\GameMakerStudio2\Cache\Runtimes\Runtime-\Bin" is most likely due to antivirus, add it to exceptions and most likely everything will work