Hello everyone! I am experiencing intermittent crashing issues when loading my game/play rooms. I am overly confused why this is a 'sometimes' issue and not an 'all the time' issue. The problem seems to focus on a now famous 'Grid 0, index out of bounds writing [24,20] - size is [24,24]' error. The room will just crash/hang up/freeze and you have to alt+ctrl+del to close out of GMS. I have gone down the -1 path, changing the size of the grid, compared to the variable size, etc. But that doesn't explain why it only happens sometimes and not always. /code]randomize(); surface = noone; global.tileSize = 64; global.mazeWidth = 24; global.mazeHeight = 24; global.grid1 = ds_grid_create(global.mazeWidth , global.mazeHeight); ds_grid_clear(global.grid1, 0); show_message(string(ds_grid_width(global.grid1))) show_message(string(ds_grid_height(global.grid1))) ............stuff here [/code] If there were an issue, shouldn't it happen all the time and the game fails to load? This is hard to debug due to the ALT-CTRL-DEL requirement of the crashing. Using messages as break stops work as expected, unless the game crashes and 'error message 1' will not even load because the entire game just freezes.