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

iOS GMS2 v2.3 on Mac not showing game window

Hi Everyone,

I should note that I am primarily a Windows user and have successfully run GMS2 on Windows without issues. I'm getting reacquainted with Mac since I am a teacher and will have students using Macs remotely.

I have successfully installed GMS 2.3.2.560 with runtime 2.3.2.426 on my Mac, however when running the game, no separate game window appears, despite the final line in the Output window stating: SUCCESS: Run Program Complete. The application seems to run fine otherwise; I just can't test the game.

I am running Big Sur 11.2.3. I'm able to install software and using an admin account, so I don't think there should be folder sharing issues, but I'm not sure.

I installed mono 6 and have restarted the Mac.

Am I missing something obvious?

Thanks for any help you can provide!
Jason
 

TsukaYuriko

☄️
Forum Staff
Moderator
The game window not appearing after a successful compile usually indicates an infinite loop. Start the game in debug mode and pause it as soon as it launches... or well, as soon as it doesn't launch, to check if the code is getting stuck somewhere.
 

chamaeleon

Member
First thing I would test is running in debug mode and if the game window does not appear press pause and see your code is stuck in some infinite loop before the window is displayed in the first draw event.

Edit : ninja'd
 
The game window not appearing after a successful compile usually indicates an infinite loop. Start the game in debug mode and pause it as soon as it launches... or well, as soon as it doesn't launch, to check if the code is getting stuck somewhere.
Thanks for the idea. I don't even have objects programmed yet. Just an empty room with one object.
 
First thing I would test is running in debug mode and if the game window does not appear press pause and see your code is stuck in some infinite loop before the window is displayed in the first draw event.

Edit : ninja'd
Thanks for your reply. I do get a debugger failed to connect error. However, the game won't run even using tutorial files produced by Yoyogames.
 
Below is the readout from the Output window, if that helps...

"/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/bin/Igor.exe -j=8 -options="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run

Loaded Macros from /Users/jrobertson/.config/GameMakerStudio2/Cache/GMS2CACHE/Tutorial2__F33BD604_B219D5B5/macros.json
Options: /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/bin/platform_setting_defaults.json
Options: /Users/jrobertson/.config/GameMakerStudio2/jrobertson_2222226095/local_settings.json
Options: /Users/jrobertson/.config/GameMakerStudio2/Cache/GMS2CACHE/Tutorial2__F33BD604_B219D5B5/targetoptions.json
Setting up the Asset compiler
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Tutorial2_v2.3_Complete" /td="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP" /cd="/Users/jrobertson/.config/GameMakerStudio2/Cache/GMS2CACHE/Tutorial2__F33BD604_B219D5B5" /zpuf="/Users/jrobertson/.config/GameMakerStudio2/jrobertson_2222226095" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/interpreted/" /nodnd /cfg="Default" /o="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM" /sh=True /optionsini="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/BaseProject/BaseProject.yyp" "/Users/jrobertson/Downloads/02 Tutorials/Tutorial 2 - Player/Tutorial2_v2.3_Complete/Tutorial2_v2.3_Complete.yyp
" /preprocess="/Users/jrobertson/.config/GameMakerStudio2/Cache/GMS2CACHE/Tutorial2__F33BD604_B219D5B5"
We have a Zeus Project!
Found Project Format 2
ProjectFileWatcher:StartWatching:/Users/jrobertson/Downloads/02 Tutorials/Tutorial 2 - Player/Tutorial2_v2.3_Complete
Started: 4/25/2021 3:23:16 PM
Finished: 4/25/2021 3:23:17 PM
Diff: 00:00:00.6878320
Loaded Project: Tutorial2_v2.3_Complete
finished.
Release build
Options: /Users/jrobertson/.config/GameMakerStudio2/Cache/GMS2CACHE/Tutorial2__F33BD604_B219D5B5/PlatformOptions.json
homedir : /Users/jrobertson
remote_install_path : /Users/jrobertson/GameMakerStudio2/Mac/GMS2MAC/Tutorial2_v2.3_Complete
Options: /Users/jrobertson/.config/GameMakerStudio2/Cache/GMS2CACHE/Tutorial2__F33BD604_B219D5B5/ExtensionOptions.json
PlatformOptions
[Compile] Run asset compiler
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Tutorial2_v2.3_Complete" /td="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP" /cd="/Users/jrobertson/.config/GameMakerStudio2/Cache/GMS2CACHE/Tutorial2__F33BD604_B219D5B5" /zpuf="/Users/jrobertson/.config/GameMakerStudio2/jrobertson_2222226095" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/interpreted/" /nodnd /cfg="Default" /o="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM" /sh=True /optionsini="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/BaseProject/BaseProject.yyp" "/Users/jrobertson/Downloads/02 Tutorials/Tutorial 2 - Player/Tutorial2_v2.3_Complete/Tutorial2_v2.3_Complete.yyp
" /optionsini="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/options.ini" /bt=run /rt=vm
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Saving IFF file... /var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/Tutorial2_v2.3_Complete.zip
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... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
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...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Stats : GMA : Elapsed=993.449
Stats : GMA : sp=24,au=0,bk=0,pt=0,sc=0,sh=0,fo=3,tl=0,ob=1,ro=1,da=0,ex=0,ma=3,fm=0x200000000000
nname: /var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/Tutorial2_v2.3_Complete.zip
destname: /var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/GameAssetsMac.zip
IsMacConnected
InstallRunnerOnMac
/bin/bash -c "chmod u+x /var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/install_dmg.sh"


/bin/bash DONE (0)
Successfully extracted game.yydebug
RunOnMac
/bin/bash -c "cd ~ && mkdir -p \"/Users/jrobertson/GameMakerStudio2/Mac/GMS2MAC/Tutorial2_v2.3_Complete\""


/bin/bash DONE (0)
/bin/bash -c "cd ~ && echo Starting... >/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/debug.log"


/bin/bash DONE (0)
The application /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/mac/YoYo Runner.app cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10386 "(null)" UserInfo={_LSLine=3665, _LSFunction=_LSOpenStuffCallLocal}
-n -a "/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/mac/YoYo Runner.app" --args -game "/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/GameAssetsMac.zip" -debugoutput "/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/debug.log" -output "/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/Tutorial2_v2.3_Complete_15B3EED9_VM/debug.log" -runTest
Igor complete.
Igor complete.
elapsed time 00:00:04.5293830s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/bin/Igor.exe -j=8 -options="/var/folders/t6/sjj5q63j1d557h9kwn9w6k780000gp/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run started at 04/25/2021 15:23:14
SUCCESS: Run Program Complete
 

chamaeleon

Member
The application /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.2.426/mac/YoYo Runner.app cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10386 "(null)" UserInfo={_LSLine=3665, _LSFunction=_LSOpenStuffCallLocal}
Presumably this is relevant. Not being a Mac user I have no idea how to proceed to fix this (maybe a GMS reinstall is required, maybe some system dependency is not satisfied, maybe it's something else). In any case YoYo Runner.app would be the program that runs your game in VM mode, so you need to figure out why OSX is not letting this program execute (it is not compiled when you compile your program, it's a program included in the runtime download).
 
Top