Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMEdit

A high-end code editor for all things GameMaker · By YellowAfterlife

Missing ']' in 2D array accessor blanks entire IDE

A topic by Tore Lehmann (aka. pr0te) created May 13, 2022 Views: 222 Replies: 2
Viewing posts 1 to 2

It took me by surprise when I saved my project and the entire IDE went blank. I had to open GM and comment out the newest added code, to load my project in GMEdit again, without it just going fully blank, the whole application. Upon loading it again, I saw that I forgot a ']' when accessing an array. If I remove it again and save, the application goes blank again. Just thought I'd mention it, in case this is an unknown bug. In the gif below, I remove the ']' again and press CTRL+S


Developer

I’ve seen this a few times on one of my projects - it seems to be a bug in JavaScript runtime itself as no JS error should straight up crash the renderer process (which Developer Tools indicate).

I’ll likely have to update the Electron version for this, but it’s usually a bumpy ride - right now GMEdit uses v11 (2021) while the latest is v18 and there are dozens breaking changes between them.

It's no big problem at all, at least for me. Thanks for the reply and the insight. Just wanted to let you know! :) - Great tool btw. Been using it for a couple of weeks now instead of the original IDE and it's relieving.