YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Windows YYC build does not work anymore #8449

Closed gm-bug-reporter[bot] closed 2 days ago

gm-bug-reporter[bot] commented 3 days ago

Description

When building a Windows YYC build the build fails with a compilation error suddenly. It complains about a script file that I have not touched for ages. It used to work before. The only thing that has changed is the GMS-version.

I have the newest version of Visual Studio Code 2022. Version 17.12.0

Stacktrace:

"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/bin/igor/windows/x64/Igor.exe" -j=8 -options="C:\Users\herra\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run

Loaded Macros from C:\Users\herra\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\soldierer_99FFA758\macros.json Options: C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218\bin\platform_setting_defaults.json Options: C:\Users\herra\AppData\Roaming/GameMakerStudio2\herrapentti_917469\local_settings.json Options: C:\Users\herra\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\soldierer_99FFA758\targetoptions.json Setting up the Asset compiler C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/bin/assetcompiler/windows/x64/GMAssetCompiler.dll /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="soldierer" /td="C:\Users\herra\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="C:\Users\herra\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\soldierer_99FFA758" /rtp="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218" /zpuf="C:\Users\herra\AppData\Roaming/GameMakerStudio2\herrapentti_917469" /prefabs="C:\ProgramData/GameMakerStudio2/Prefabs" /ffe="d3t+fjZrf25zeTdwgjZ5em98a3GCN4ODbTZzeH5vdnZzfW94fW82eH92dnN9cjZ2eXFzeGl9fXk2fm99fjZtf31+eXdpb3iANnBzdn41cII2cYJpd3luaYFrdnZ6a3pvfDZxgml3eW5pcWt3b31+fHN6NnZzgG9pgWt2dnprem98aX1/bH1tfHN6fnN5eA==" /m=llvm-win /tgt=64 /llvmSource="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/yyc/" /nodnd /cfg="Default" /o="C:\Users\herra\AppData\Local\GameMakerStudio2\GMS2TEMP\soldierer_38F0B228_YYC" /sh=True /optionsini="C:\Users\herra\AppData\Local\GameMakerStudio2\GMS2TEMP\soldier er_38F0B228_YYC\options.ini" /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218\BaseProject\BaseProject.yyp" "D:\Projektit\militarycommando-release\soldierer.yyp" /preprocess="C:\Users\herra\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\soldierer_99FFA758" Found Project Format 2 +++ GMSC serialisation: SUCCESSFUL LOAD AND LINK TIME: 281.3563ms Loaded Project: soldierer finished. Found Project Format 2 +++ GMSC serialisation: SUCCESSFUL LOAD AND LINK TIME: 19.8885ms Loaded Project: yy_sdf_shader finished. Found Project Format 2 +++ GMSC serialisation: SUCCESSFUL LOAD AND LINK TIME: 12.6008ms Loaded Project: yy_sdf_effect_shader finished. Found Project Format 2 +++ GMSC serialisation: SUCCESSFUL LOAD AND LINK TIME: 15.0954ms Loaded Project: yy_sdf_blur_shader finished. Found Project Format 2 +++ GMSC serialisation: SUCCESSFUL LOAD AND LINK TIME: 10.5792ms Loaded Project: _filter_contrast finished. Found Project Format 2 +++ GMSC serialisation: SUCCESSFUL LOAD AND LINK TIME: 13.7405ms Loaded Project: GMPresetParticles finished. Release build Options: C:\Users\herra\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\soldierer_99FFA758\ExtensionOptions.json OptionsIni Options: C:\Users\herra\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\soldierer_99FFA758\PlatformOptions.json [Compile] Run asset compiler (YYC) C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/bin/assetcompiler/windows/x64/GMAssetCompiler.dll /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="soldierer" /td="C:\Users\herra\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="C:\Users\herra\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\soldierer_99FFA758" /rtp="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218" /zpuf="C:\Users\herra\AppData\Roaming/GameMakerStudio2\herrapentti_917469" /prefabs="C:\ProgramData/GameMakerStudio2/Prefabs" /ffe="d3t+fjZrf25zeTdwgjZ5em98a3GCN4ODbTZzeH5vdnZzfW94fW82eH92dnN9cjZ2eXFzeGl9fXk2fm99fjZtf31+eXdpb3iANnBzdn41cII2cYJpd3luaYFrdnZ6a3pvfDZxgml3eW5pcWt3b31+fHN6NnZzgG9pgWt2dnprem98aX1/bH1tfHN6fnN5eA==" /m=llvm-win /tgt=64 /llvmSource="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/yyc/" /nodnd /cfg="Default" /o="C:\Users\herra\AppData\Local\GameMakerStudio2\GMS2TEMP\soldierer_38F0B228_YYC" /sh=True /optionsini="C:\Users\herra\AppData\Local\GameMakerStudio2\GMS2TEMP\soldier er_38F0B228YYC\options.ini" /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218\BaseProject\BaseProject.yyp" "D:\Projektit\militarycommando-release\soldierer.yyp" /debug /bt=run /rt=yyc /yyc64bit=true Looking for built-in fallback image in C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218\bin\BuiltinImages Compiling Shader Shaderyy_sdf_shader... compiled with vs_4_0_level_9_1 (optimised) Compiling Shader Shader_yy_sdf_shader... compiled with ps_4_0_level_9_3 (optimised) Compiling Shader Shader___yy_sdf_effect_shader... compiled with vs_4_0_level_91 (optimised) Compiling Shader Shaderyy_sdf_effect_shader... compiled with ps_4_0_level_9_3 (optimised) Compiling Shader Shader_yy_sdf_blur_shader... compiled with vs_4_0_level_91 (optimised) Compiling Shader Shaderyy_sdf_blur_shader... compiled with ps_4_0_level_9_1 (optimised) Compiling Shader Shader__filter_contrast_shader... compiled with vs_4_0_level_9_1 (optimised) Compiling Shader Shader__filter_contrast_shader... compiled with ps_4_0_level_9_1 (optimised) Compile Constants...finished. Remove DnD...finished. Compile Scripts...finished. Compile Rooms...finished..... 16 CC empty Compile Objects...finished.... 6 empty events Compile Timelines...finished. Compile Triggers...finished. Compile Extensions...finished. Global scripts...finished. finished. collapsing enums. Error : gml_GlobalScript_ai_actions_lib(0) : Fatal Error while compiling gml_GlobalScript_ai_actions_lib - bailing details below Final Compile...System.InvalidOperationException: Stack empty. at System.Collections.Generic.Stack1.ThrowForEmptyStack() at System.Collections.Generic.Stack1.Peek() at GMAssetCompiler.TypeDecorator.CompileConstant(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileExpression(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileFunction(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileExpression(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileVariable(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileExpression(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileVariable(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileExpression(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileBinary(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileExpression(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileIf(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileStatement(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileBlock(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileFunctionDecl(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileStatement(GMLToken _tok) at GMAssetCompiler.TypeDecorator.CompileBlock(GMLToken _tok) at GMAssetCompiler.TypeDecorator.DoIt(GMLToken _tok) at GMAssetCompiler.GML2CPP.Compile(GMAssets _assets, GMLCode _code) finished. Stats : GMA : Elapsed=927.0196 Stats : GMA : sp=307,au=49,bk=3,pt=1,sc=1012,sh=4,fo=2,tl=0,ob=118,ro=15,da=0,ex=0,ma=280,fm=0x1040B29D6DBE02B0 C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/bin/assetcompiler/windows/x64/GMAssetCompiler.dll exited with non-zero status (1) elapsed time 00:00:01.9119945s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/bin/igor/windows/x64/Igor.exe" -j=8 -options="C:\Users\herra\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 11/18/2024 21:34:57 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.

Steps To Reproduce

Choose platform Windows. Choose Output GMS2 YYC. Observe the compilation error.

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

Which platform(s) are you seeing the problem on?

Windows

9c67fc13-dd34-446c-9bf7-aa9c1ab2db56

rwkay commented 2 days ago

Without a project I am unable to tell if this is fixed - we have fixed issues like this in 2024.11 though so please checkout the Beta - https://releases.gamemaker.io/release-notes/2024/1100 - If that still shows the problem then please file an issue with the project attached (it will be private if you use the Beta reporting tool within the IDE).

Emc1923 commented 2 days ago

Closing as per comment above, thanks.