• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • 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.

SOLVED FAILED: Run Program Complete Error

ayrenn

Member
Hey, I'm getting this weird error I have not encountered before and I can't seem to get it working and found no solutions to my problem online.

This is my Output Window
X://bin/GMAssetCompiler.exe DONE (0)
Release build
Options: Z:/Doodle_Sla_418DF831_C4F9C1A7\ExtensionOptions.json
OptionsIni
Options: Z:/Doodle_Sla_418DF831_C4F9C1A7\PlatformOptions.json
[Compile] Run asset compiler
C:\WINDOWS\system32\cmd.exe /c ""X://bin/GMAssetCompiler.exe" /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Doodle Slayer" /td="Y:/" /cd="Z:/Doodle_Sla_418DF831_C4F9C1A7" /zpuf="C:\Users\arrja\AppData\Roaming/GameMakerStudio2\ayrenn.gaming_243939" /m=windows /tgt=64 /nodnd /cfg="default" /o="Y:/Doodle_Slayer_7AB530C_VM" /sh=True /optionsini="Y:/Doodle_Slayer_7AB530C_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\arrja\OneDrive\Dokument\GameMakerStudio2\project-bsa\Boss Souls Arena\Doodle Slayer.yyp" /bt=run /rt=vm"
Reading project file....C:\Users\arrja\OneDrive\Dokument\GameMakerStudio2\project-bsa\Boss Souls Arena
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\arrja\OneDrive\Dokument\GameMakerStudio2\project-bsa\Boss Souls Arena\options\main\inherited\options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Saving IFF file... Y:/Doodle_Slayer_7AB530C_VM\Doodle Slayer.win
Writing Chunk... GEN8
option_game_speed=30
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Converting snd_startgame to Wav 16bit mono @ 44100Hz
Converting snd_teleport to Wav 16bit mono @ 44100Hz
Writing Chunk... AGRP
Writing Chunk... SPRT
-----------------------------------------------------------------------------
System.Xml.XmlException: Rotelementet saknas.
vid System.Xml.XmlTextReaderImpl.Throw(Exception e)
vid System.Xml.XmlTextReaderImpl.ParseDocumentContent()
vid System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
vid System.Xml.XmlDocument.Load(XmlReader reader)
vid System.Xml.XmlDocument.Load(String filename)
vid GMAssetCompiler.TexturePage.(String )
vid GMAssetCompiler.TexturePage.(String , Boolean , Boolean , Boolean , Boolean , Int32 , String , String , String[] )
vid GMAssetCompiler.WADSaver`1.<>c.(KeyValuePair`2 )
vid GMAssetCompiler.Program..(Object )
vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
vid System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
vid System.Threading.ThreadPoolWorkQueue.Dispatch()
-----------------------------------------------------------------------------
EXCEPTION FILE - C:\Users\arrja\AppData\Local\Temp\b766767cae054da7bbccf84678e48deb.yyg.saencryptedreport
-----------------------------------------------------------------------------

Ohanterat undantag: System.Xml.XmlException: Rotelementet saknas.
vid System.Xml.XmlTextReaderImpl.Throw(Exception e)
vid System.Xml.XmlTextReaderImpl.ParseDocumentContent()
vid System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
vid System.Xml.XmlDocument.Load(XmlReader reader)
vid System.Xml.XmlDocument.Load(String filename)
vid GMAssetCompiler.TexturePage.(String )
vid GMAssetCompiler.TexturePage.(String , Boolean , Boolean , Boolean , Boolean , Int32 , String , String , String[] )
vid GMAssetCompiler.WADSaver`1.<>c.(KeyValuePair`2 )
vid GMAssetCompiler.Program..(Object )
vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
vid System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
vid System.Threading.ThreadPoolWorkQueue.Dispatch()


C:\WINDOWS\system32\cmd.exe exited with non-zero status (-532462766)
elapsed time 00:00:05.9216361s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe" -j=8 -options="C:\Users\arrja\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 05/18/2020 21:05:44
"cmd" /c subst Z: /d

elapsed time 00:00:00.0379878s for command "cmd" /c subst Z: /d started at 05/18/2020 21:05:50
"cmd" /c subst Y: /d

elapsed time 00:00:00.0379874s for command "cmd" /c subst Y: /d started at 05/18/2020 21:05:50
"cmd" /c subst X: /d

elapsed time 00:00:00.0369876s for command "cmd" /c subst X: /d started at 05/18/2020 21:05:50
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.
 

Yal

🐧 *penguin noises*
GMC Elder
I saw this problem recently, the solution that time was to clean the compiler cache (broom icon near the "test play" and "debug" icons). One of the files Game Maker creates behind the scenes when compiling got corrupted, GM thinks it exists and doesn't need to be re-created, but then it fails to parse. Cleaning the compiler cache should force it to regenerate everything, making a working version of the file this time.

I love the random swedish error message in the middle of the log. What even is consistent locales :p
 

ayrenn

Member
I saw this problem recently, the solution that time was to clean the compiler cache (broom icon near the "test play" and "debug" icons). One of the files Game Maker creates behind the scenes when compiling got corrupted, GM thinks it exists and doesn't need to be re-created, but then it fails to parse. Cleaning the compiler cache should force it to regenerate everything, making a working version of the file this time.

I love the random swedish error message in the middle of the log. What even is consistent locales :p
Oh my god i love you so much!:D ...... and hate myself for not even trying the clean:mad:
 

Ortei

Member
I saw this problem recently, the solution that time was to clean the compiler cache (broom icon near the "test play" and "debug" icons). One of the files Game Maker creates behind the scenes when cmpiling got corrupted, GM thinks it exists and doesn't need to be re-created, but then it fails to parse. Cleaning the compiler cache should force it to regenerate everything, making a working version of the file this time.

I love the random swedish error message in the middle of the log. What even is consistent locales :p
Hi, I'm new to game maker, and the first time I tried to run the game I was creating the above error happened, so I got your answer, but when I try to clear the compiler cache it gives a very similar error, if you can. help, thank you

error when running

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

elapsed time 00:00:00.0270004s for command "cmd" /c subst Z: "C:\Users\Pietro\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 06/03/2021 11:06:32
"cmd" /c subst Y: "C:\Users\Pietro\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0300000s for command "cmd" /c subst Y: "C:\Users\Pietro\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 06/03/2021 11:06:32
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426"

elapsed time 00:00:00.0300000s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426" started at 06/03/2021 11:06:32
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.2.426/bin/Igor.exe" -j=8 -options="C:\Users\Pietro\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run

Loaded Macros from C:\Users\Pietro\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\jogo_9E309E0E\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Pietro\AppData\Roaming/GameMakerStudio2\user_1000000\local_settings.json
Failed to load Options from C:\Users\Pietro\AppData\Roaming/GameMakerStudio2\user_1000000\local_settings.json
Options: C:\Users\Pietro\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\jogo_9E309E0E\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="jogo" /td="Y:/" /cd="Z:/jogo_9E309E0E" /zpuf="C:\Users\Pietro\AppData\Roaming/GameMakerStudio2\user_1000000" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/jogo_4A63DE37_VM" /sh=True /optionsini="Y:/jogo_4A63DE37_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Pietro\Documents\GameMakerStudio2\jogo\jogo.yyp" /preprocess="Z:/jogo_9E309E0E"
We have a Zeus Project!
-----------------------------------------------------------------------------
System.InvalidCastException: Conversão especificada não é válida.
em GMAssetCompiler.Program.(String )
em GMAssetCompiler.GMLCompile.()
em GMAssetCompiler.Program.Main(String[] _args)
-----------------------------------------------------------------------------
EXCEPTION FILE - C:\Users\user\AppData\Local\Temp\a38b483b16864e98ac53cd94825ded14.yyg.saencryptedreport
-----------------------------------------------------------------------------
X://bin/GMAssetCompiler.exe exited with non-zero status (-532462766)
elapsed time 00:00:04.4452520s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.2.426/bin/Igor.exe" -j=8 -options="C:\Users\Pietro\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 06/03/2021 11:06:32
"cmd" /c subst Z: /d

elapsed time 00:00:00.0280016s for command "cmd" /c subst Z: /d started at 06/03/2021 11:06:37
"cmd" /c subst Y: /d

elapsed time 00:00:00.0300000s for command "cmd" /c subst Y: /d started at 06/03/2021 11:06:37
"cmd" /c subst X: /d

elapsed time 00:00:00.0590012s for command "cmd" /c subst X: /d started at 06/03/2021 11:06:37
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.


error cleaning


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

elapsed time 00:00:00.0200006s for command "cmd" /c subst Z: "C:\Users\Pietro\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 06/03/2021 11:08:02
"cmd" /c subst Y: "C:\Users\Pietro\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0300001s for command "cmd" /c subst Y: "C:\Users\Pietro\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 06/03/2021 11:08:02
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426"

elapsed time 00:00:00.0370004s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426" started at 06/03/2021 11:08:02
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.2.426/bin/Igor.exe" -j=8 -options="C:\Users\user\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- windows Clean

Loaded Macros from C:\Users\Pietro\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\jogo_9E309E0E\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Pietro\AppData\Roaming/GameMakerStudio2\user_1000000\local_settings.json
Failed to load Options from C:\Users\Pietro\AppData\Roaming/GameMakerStudio2\user_1000000\local_settings.json
Options: C:\Users\Pietro\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\jogo_9E309E0E\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="jogo" /td="Y:/" /cd="Z:/jogo_9E309E0E" /zpuf="C:\Users\Pietro\AppData\Roaming/GameMakerStudio2\user_1000000" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/jogo_39623610_VM" /sh=True /optionsini="Y:/jogo_39623610_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Pietro\Documents\GameMakerStudio2\jogo\jogo.yyp" /preprocess="Z:/jogo_9E309E0E"
We have a Zeus Project!
-----------------------------------------------------------------------------
System.InvalidCastException: Conversão especificada não é válida.
em GMAssetCompiler.Program.(String )
em GMAssetCompiler.GMLCompile.()
em GMAssetCompiler.Program.Main(String[] _args)
-----------------------------------------------------------------------------
EXCEPTION FILE - C:\Users\Pietro\AppData\Local\Temp\bde145d41fee421ab77e67f725186abc.yyg.saencryptedreport
-----------------------------------------------------------------------------
X://bin/GMAssetCompiler.exe exited with non-zero status (-532462766)
elapsed time 00:00:05.8453321s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.2.426/bin/Igor.exe" -j=8 -options="C:\Users\Pietro\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- windows Clean started at 06/03/2021 11:08:02
"cmd" /c subst Z: /d

elapsed time 00:00:00.0290016s for command "cmd" /c subst Z: /d started at 06/03/2021 11:08:08
"cmd" /c subst Y: /d

elapsed time 00:00:00.0300017s for command "cmd" /c subst Y: /d started at 06/03/2021 11:08:08
"cmd" /c subst X: /d

elapsed time 00:00:00.0300017s for command "cmd" /c subst X: /d started at 06/03/2021 11:08:08
FAILED : Clean Program Complete
 

JacktheLR

Member
I saw this problem recently, the solution that time was to clean the compiler cache (broom icon near the "test play" and "debug" icons). One of the files Game Maker creates behind the scenes when compiling got corrupted, GM thinks it exists and doesn't need to be re-created, but then it fails to parse. Cleaning the compiler cache should force it to regenerate everything, making a working version of the file this time.

I love the random swedish error message in the middle of the log. What even is consistent locales :p
Tried that. Didn't work.
 
Top