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

Legacy GM Undefined

N

NeonBits

Guest
I've deleted one object yesterday; there was no references to it and it was not used in rooms. GM returned an access violation. The object turned into "undefined". I could not open it but I could delete it. Nothing changed in the game.

Now, I told myself, while at it, let's do the same for what's left; I've deleted three or four objects (without references and not in rooms); each time an object was deleted, the same access violation followed and the object turned into "undefined". Launched the game... oops:

Code:
Reading project file... error: unable to find object <undefined> referenced in event
 finished.
I've deleted cache, temporary files, closed GM, reopened it, launched; same message (again; and again... and again).
The compiler starts with the message above, compiles everything, and open a box at the end to read this. Game won't launch. Any suggestion?
 
Last edited by a moderator:
N

NeonBits

Guest
It's ok, situation fixed itself. I created a new empty object. There was a freezing during a second. Then launched. While compiling, I named the object "undefined" and GM opened a box saying "name not allowed". Suddenly, the compiler crashed. Launched again and now it works. I could delete the new object without any error.
 
Last edited by a moderator:
Top