Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ryemanni

1
Posts
1
Topics
26
Followers
A member registered Dec 16, 2019 · View creator page →

Creator of

Recent community posts

Hello. I've been using GMEdit for the better part of 3 years now, and it's a great tool. Recently, however, I've encountered my first issue with it which might be a bug (or just something simple I've overlooked).

So, for some reason, if I add new moments to a timeline in GMEdit and run the game, I get a "Variable not set before reading it." error about the timeline. The output window also tells me there was an exception loading the json of the timeline.
I checked the timeline's .yy file with notepad++ and for some reason all the moments created and saved with GMEdit are events instead, which causes things to break.

Here's what the "momentList" part looks like for the .yy after saving in GMEdit. There should be 4 moments in total, but only the first one, which was there by default when the timeline was first created, appears correctly. The contents of the moment_X.gml files are saved properly, the .yy file is the only one that acts weird it looks like.

  "momentList": [

    {"moment":0,"evnt":{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMMoment",},

    {"evnt":{"collisionObjectId":"00000000-0000-0000-0000-000000000000","enumb":102,"eventtype":0,"m_owner":null,"id":"24d25a0b-2893-4acd-9e40-be63c920e595","modelName":"GMEvent","mvc":"1.0","IsDnD":false,},"id":"94d4e742-e459-49ea-99e6-ec0aadb5d11a","modelName":"GMMoment","moment":102,"mvc":"1.0","name":"",},

    {"evnt":{"collisionObjectId":"00000000-0000-0000-0000-000000000000","enumb":200,"eventtype":0,"m_owner":null,"id":"e2ed857a-7cd9-4df5-8ddf-3770dadb9ee8","modelName":"GMEvent","mvc":"1.0","IsDnD":false,},"id":"0d5343e3-27f8-4972-b932-b872296534ce","modelName":"GMMoment","moment":200,"mvc":"1.0","name":"",},

    {"evnt":{"collisionObjectId":"00000000-0000-0000-0000-000000000000","enumb":300,"eventtype":0,"m_owner":null,"id":"3f85345d-55d2-4d02-b980-066c4def0fb1","modelName":"GMEvent","mvc":"1.0","IsDnD":false,},"id":"da6b1f84-bb4a-4842-a2c4-125f35cbeb85","modelName":"GMMoment","moment":300,"mvc":"1.0","name":"",},

  ],

This does not happen if I create and edit a timeline only using GMS2's built in editor.

I'm using the latest windows beta build of GMEdit. This happened to me in an older version too, which caused me to update to see if this would still happen in the latest version. Any help would be appreciated. Thank you.