• 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.

Question - IDE How can I solve "FAILED: Run Program Complete"

H

Hell wither

Guest
Here is the error information

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

elapsed time 00:00:00.0349800s for command "cmd" /c subst Z: "C:\Users\Administrator\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 08/18/2019 21:15:39
"cmd" /c subst Y: "C:\Users\Administrator\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0399775s for command "cmd" /c subst Y: "C:\Users\Administrator\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 08/18/2019 21:15:39
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.3.344"

elapsed time 00:00:00.0419734s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.3.344" started at 08/18/2019 21:15:39
Saving project to: C:\Users\Administrator\Documents\GameMakerStudio2\prototype\prototype.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.3.344/bin/Igor.exe" -j=8 -options="C:\Users\Administrator\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run

Loaded Macros from C:\Users\Administrator\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\prototype_2F97F7BE\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Administrator\AppData\Roaming/GameMakerStudio2\244845693_2128770\local_settings.json
Options: C:\Users\Administrator\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\prototype_2F97F7BE\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="prototype" /td="Y:/" /cd="Z:/prototype_2F97F7BE" /zpuf="C:\Users\Administrator\AppData\Roaming/GameMakerStudio2\244845693_2128770" /m=windows /tgt=64 /nodnd /cfg="default" /o="Y:/prototype_61D2ECC_VM" /sh=True /optionsini="Y:/prototype_61D2ECC_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Administrator\Documents\GameMakerStudio2\prototype\prototype.yyp" /preprocess="Z:/prototype_2F97F7BE"
Reading project file....C:\Users\Administrator\Documents\GameMakerStudio2\prototype
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\Administrator\Documents\GameMakerStudio2\prototype\options\main\inherited\options_main.inherited.yy'
finished.


X://bin/GMAssetCompiler.exe DONE (0)
Release build
OptionsIni
Options: Z:/prototype_2F97F7BE\PlatformOptions.json
[Compile] Run asset compiler
C:\WINDOWS\system32\cmd.exe /c ""X://bin/GMAssetCompiler.exe" /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="prototype" /td="Y:/" /cd="Z:/prototype_2F97F7BE" /zpuf="C:\Users\Administrator\AppData\Roaming/GameMakerStudio2\244845693_2128770" /m=windows /tgt=64 /nodnd /cfg="default" /o="Y:/prototype_61D2ECC_VM" /sh=True /optionsini="Y:/prototype_61D2ECC_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Administrator\Documents\GameMakerStudio2\prototype\prototype.yyp" /bt=run /rt=vm"
Reading project file....C:\Users\Administrator\Documents\GameMakerStudio2\prototype
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\Administrator\Documents\GameMakerStudio2\prototype\options\main\inherited\options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...
Error : gml_Script_cutscene_wait(0) : no references to argument 0 but references argument 1

Error : gml_Script_cutscene_instance_create(5) : argument cannot be used without an array index, it is not a GML array

Error : gml_Script_cutscene_instance_create(5) : wrong number of arguments for function instance_create_layer
finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Error : gml_Script_cutscene_instance_create(5) : malformed assignment statement
Final Compile...finished.
Saving IFF file... Y:/prototype_61D2ECC_VM\prototype.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
1 Compressing texture... writing texture texture_1.png...
2 Compressing texture... writing texture texture_2.png...
3 Compressing texture... writing texture texture_3.png...
4 Compressing texture... writing texture texture_4.png...
5 Compressing texture... writing texture texture_5.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=1173.5685
Stats : GMA : sp=38,au=1,bk=24,pt=0,sc=18,sh=0,fo=0,tl=0,ob=11,ro=9,da=0,ex=0,ma=42,fm=0x321C09680020


C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:00:03.9241214s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.3.344/bin/Igor.exe" -j=8 -options="C:\Users\Administrator\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 08/18/2019 21:15:39
"cmd" /c subst Z: /d

elapsed time 00:00:00.0339810s for command "cmd" /c subst Z: /d started at 08/18/2019 21:15:43
"cmd" /c subst Y: /d

elapsed time 00:00:00.0379787s for command "cmd" /c subst Y: /d started at 08/18/2019 21:15:43
"cmd" /c subst X: /d

elapsed time 00:00:00.0379783s for command "cmd" /c subst X: /d started at 08/18/2019 21:15:43
FAILED: Run Program Complete

Everything runs fine before I put in some cutscene scripts. I've searched a lot and see many people have got the same problem as I have. I've checked all my scripts and there is no error at all. Then I checked my runtime version,
upload_2019-8-18_21-41-40.png
It's the newest version. Just wanna know what else can I do to solve this problem, if the codes are related, I will post them as well
 

FrostyCat

Redemption Seeker
There are syntax issues in your code.
Code:
Error : gml_Script_cutscene_wait(0) : no references to argument 0 but references argument 1

Error : gml_Script_cutscene_instance_create(5) : argument cannot be used without an array index, it is not a GML array

Error : gml_Script_cutscene_instance_create(5) : wrong number of arguments for function instance_create_layer
Code:
Error : gml_Script_cutscene_instance_create(5) : malformed assignment statement
The next time a compile fails, don't just copy-and-paste on the GMC. We're not your private on-call monkeys. Copy-and-paste it into notepad, look for "Error :" and fix them first.
 
H

Hell wither

Guest
There are syntax issues in your code.
Code:
Error : gml_Script_cutscene_wait(0) : no references to argument 0 but references argument 1

Error : gml_Script_cutscene_instance_create(5) : argument cannot be used without an array index, it is not a GML array

Error : gml_Script_cutscene_instance_create(5) : wrong number of arguments for function instance_create_layer
Code:
Error : gml_Script_cutscene_instance_create(5) : malformed assignment statement
The next time a compile fails, don't just copy-and-paste on the GMC. We're not your private on-call monkeys. Copy-and-paste it into notepad, look for "Error :" and fix them first.
OMG I didn't see this, thanks a lot. :eek:I will be more careful when posting problems next time, sorry
 
Top