gamemaker吧 关注:13,670贴子:95,395
  • 5回复贴,共1

新人求助,我连first game也无法运行

只看楼主收藏回复

昨天刚在steam上下载的GMS2
今天想试试按照教程,完成第一个游戏
结果可以编辑游戏,但是无法运行工程,我也不知道什么原因
请问有没有老师指导一下,是不是我安装的有问题
提示内容如下
"cmd" /c subst Z: "C:\Users\Administrator\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"
elapsed time 00:00:00.1900108s for command "cmd" /c subst Z: "C:\Users\Administrator\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 10/15/2021 22:14:35
"cmd" /c subst Y: "C:\Users\Administrator\AppData\Local\GameMakerStudio2\GMS2TEMP"
elapsed time 00:00:00.1460083s for command "cmd" /c subst Y: "C:\Users\Administrator\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 10/15/2021 22:14:35
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.5.458"
elapsed time 00:00:00.1550089s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.5.458" started at 10/15/2021 22:14:35
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.5.458/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\game1_5BCFE15E\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Administrator\AppData\Roaming/GameMakerStudio2\119078225_3090388\local_settings.json
Options: C:\Users\Administrator\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\game1_5BCFE15E\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="game1" /td="Y:/" /cd="Z:/game1_5BCFE15E" /zpuf="C:\Users\Administrator\AppData\Roaming/GameMakerStudio2\119078225_3090388" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/game1_35B3933_VM" /sh=True /optionsini="Y:/game1_35B3933_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Administrator\Documents\GameMakerStudio2\game1\game1.yyp" /preprocess="Z:/game1_5BCFE15E"
Igor complete.
-----------------------------------------------------------------------------
System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.MissingMethodException: 找不到方法:“!!0[] System.Array.Empty()”。
在 GMAssetCompiler.Program.Main(String[] _args)
--- 内部异常堆栈跟踪的结尾 ---
在 Igor.Program.(String[] )
-----------------------------------------------------------------------------
EXCEPTION FILE - C:\Users\Administrator\AppData\Local\Temp\5780bfbe608e4ddd8cea04cc2fb4408e.yyg.saencryptedreport
-----------------------------------------------------------------------------
elapsed time 00:00:02.3341335s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.5.458/bin/Igor.exe" -j=8 -options="C:\Users\Administrator\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 10/15/2021 22:14:36
"cmd" /c subst Z: /d
elapsed time 00:00:00.1650094s for command "cmd" /c subst Z: /d started at 10/15/2021 22:14:38
"cmd" /c subst Y: /d
elapsed time 00:00:00.1420082s for command "cmd" /c subst Y: /d started at 10/15/2021 22:14:38
"cmd" /c subst X: /d
elapsed time 00:00:00.1540088s for command "cmd" /c subst X: /d started at 10/15/2021 22:14:38
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.


IP属地:湖北1楼2021-10-15 22:36回复
    谁来救救我


    IP属地:湖北来自Android客户端2楼2021-10-16 00:34
    回复
      2025-07-12 23:32:20
      广告
      QQ群搜索加一个,或者在b站搜索一下官方加进去,我这个手机没QQ帮你看不了群号,我还是萌新帮不了你解决这个问题。。。


      IP属地:河北来自Android客户端3楼2021-10-16 07:06
      收起回复
        求大神指点一下,难道我还没开始就结束了吗


        IP属地:湖北来自Android客户端4楼2021-10-16 11:39
        回复
          我gm8转gms2遇到了这个,有可能是你用了不兼容的代码,点了运行没有没有反应要么无限加载,也没有弹出报错框应该就是这个问题,gm8的instance_create(x,y,obj)和
          instance_create_layer(x, y, "层", obj)是不一样的,你写了gm8的就会这样


          IP属地:安徽5楼2021-11-10 18:09
          回复