Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMEdit

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

[Fixed] sprite_index = [Object object] must be deleted

A topic by Arthur R Teles created Sep 21, 2020 Views: 390 Replies: 3
Viewing posts 1 to 4
(2 edits)

Hi, I'm using the windows beta version released on Sep 6. This has been happening and I have no idea on how to fix it. I'm not sure if I can fix it myself or if it a bug.

Whenever I open a object script, it is loaded with  a line of code that doesn't allow me to save the script until I delete it. (it will be back there again if I reopen the file)



If I remove that line, all good, I can save now. 

How can I solve that?  Thank you! :)

Developer(+1)

I believe this is fixed in the beta build - probably need to roll it out to stable branch now.

That's great, I'm looking forward to that :)

(1 edit)

I just had this happen in the latest beta build, Nov 30.

Created a new sprite and changed an object's sprite index to that (from the GMS2 IDE), went back to gmedit and did CTRL+R, and suddenly sprite_index had become "[object Object]".

Edit: Just noticed it seems like a chunk of code from that object's create event also mysteriously disappeared at the same time 馃