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

SOLVED Compiler Error When Loading Game

F

FlamingYeti

Guest
Hello,

When I click Run on my game, I'm thrown an intimidating error that I've never seen before. It reads as below:

Code:
GameMaker:Studio AssetCompiler has encountered a problem.

We are sorry for the inconvenience.



Index was outside the bounds of the array



Please tell YoYo Games Ltd. about this problem

[etc etc, it gives me the option to send an error report]
Regardless of if I send a report, it then takes me to a Compile Errors screen reading Compile Failed - Please check the Compile window...

The compiler seems to contain no answers.

Code:
Compile started: 16:03:28

"C:\Users\name\AppData\Roaming\GameMaker-Studio\GMAssetCompiler.exe" /c /m=win  /config="Default" /tgt=64 /obob=True /obpp=False /obru=True /obes=False /i=3 /j=6 /cvm /tp=2048 /mv=1 /iv=0 /rv=0 /bv=9999 /gn="Project1" /td="C:\Users\name\AppData\Local" /cd="C:\Users\name\Documents\GameMaker\Cache" /sh=True /dbgp="6502" /hip="192.168.0.17" /hprt="51268" /o="C:\Users\name\AppData\Local\gm_ttt_67531\gm_ttt_89921" "C:\Users\name\Documents\GameMaker\Projects\Project1.gmx\Project1.project.gmx"



Reading project file....finished.

Compile Constants...finished.

Remove DnD...finished.

Compile Scripts...finished.

Compile Objects...finished.

Compile Timelines...finished.

Compile Triggers...finished.

Compile Rooms...finished.

Compile Extensions...finished.

Global scripts...finished.

Final Compile...finished.

Saving IFF file... C:\Users\name\AppData\Local\gm_ttt_67531\gm_ttt_89921\Project1.win

Writing Chunk... GEN8

Writing Chunk... OPTN

Writing Chunk... LANG

Writing Chunk... EXTN

Writing Chunk... SOND

Asset Compile finished: 16:03:33

Compile finished: 16:03:33
How would you recommend getting around this error? Any help would be appreciated.
 
F

FlamingYeti

Guest
UPDATE: I painstakingly moved all of my code and sprites and everything to an entirely new project. Re-imported the sprites, copy/pasted the code, and it worked. That's the only solution I have I'm afraid.
 
Top