I've been trying to create a random dungeon generator which makes use of structs, however when I try to run the project if there i put some code in the any of the draw and draw gui events, It gives me this error:
X://windows/Runner.exe exited with non-zero status (-1073741571)
elapsed time 00:00:05.1843779s for command "C:\ProgramData/GameMakerStudio2-Beta/Cache/runtimes\runtime-184.108.40.206/bin/Igor.exe" -j=8 -options="C:\Users\Andrea\AppData\Local\GameMakerStudio2-Beta\GMS2TEMP\build.bff" -v -- Windows Run started at 07/26/2020 15:03:44
"cmd" /c subst Z: /d
elapsed time 00:00:00.0320764s for command "cmd" /c subst Z: /d started at 07/26/2020 15:03:50
"cmd" /c subst Y: /d
elapsed time 00:00:00.0348716s for command "cmd" /c subst Y: /d started at 07/26/2020 15:03:50
"cmd" /c subst X: /d
elapsed time 00:00:00.0339744s for command "cmd" /c subst X: /d started at 07/26/2020 15:03: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.
However, if I only run the code that's inside of the create event(by deleting all other events), the game runs but the object whos create event was run appears to be destroyed(I used to debugger to check for "All instances" and nothing is there).
If I put a breakpoint at the end of the create event it shows that the code is ran, and using the debugger I can see what is stored inside of the "grid" variable(I'm storing structs inside of the grid).
Please sign in to leave a comment.