Cloaked Games
Member
So... I have no real idea how to explain this, but basically one of the rooms in my game has vanished from the list. It is named "rm_forest_kendlith". Here is a picture of the rooms folders:
As you can see, it is not there. But here is where it gets weird.
Considering I need that room, I'm going to copy the entire project folder exactly as it is (as an archive in case someone else wants to look at it) and manually edit the .yy to see if it shows up again. I will try duplicating the room and leaving the old one to see if either of them disappear again. But I don't know what caused it to disappear in the first place so I have no real idea about that.
EDIT UPDATES:
Upon further inspection, renaming the layer did not work this time like it did last time. I cannot find any way to load the room properly again. It's not exactly a big loss in this case but if it happens again I may have a really big problem. I am going to try loading my backups to recover the room, otherwise I'm going to recreate the room from scratch.
NEXT UPDATE:
Hm, I have succeeded (?) at getting another test room to disappear. When I edits the .yy file for the room while GMS2 was running, the save/reload message popped up like, "changes have been noticed". I clicked reload, assuming it would read the changes to the files I made as apposed to overwriting them with the settings in the IDE. It didn't change at all. Then I saved and closed gamemaker. When I opened it again the room was not in the list.
But that leads to the question of how I would've modified a file while GMS2 was running (and why when the file looks and operates exactly correctly the IDE still doesn't recognize it). I wasn't messing around with internal files until this problem started happening. I assume it has to do with Github so maybe it has nothing to do with Gamemaker. But I'd like a pinpoint on the problem so I can avoid it happening again. I can't just... stop using source control.
EDIT: Add existing doesn't work. It says .yy is an incompatible file type. I assume that's not what you're supposed to load with that functionality, but then what am I supposed to load using that?
As you can see, it is not there. But here is where it gets weird.
- I can still go to and visit the room with no issues, using room_goto. It works exactly as expected. Just, I can't edit it in the room editor because it's not in the list.
- The .yy files inside the project folder for this room look exactly identical to the other room files.
- Github is also reading the file fine.
- Clearing the cache, or restarting gamemaker does not change anything. Nor does overriding the room file in the project folder by copying an older version from a backup.
- Behavior was the same the first time.
- Github logged no changes at all since several commits earlier. Maybe the room disappeared sooner than that, but I can't identify any changes that would somehow cause this.
- I was able to fix this the first time by manually opening the .yy with text editor and making a change (in this case renaming one of the layers). After that it showed back up.
- I have not created a new Github commit since the first time it happened.
Considering I need that room, I'm going to copy the entire project folder exactly as it is (as an archive in case someone else wants to look at it) and manually edit the .yy to see if it shows up again. I will try duplicating the room and leaving the old one to see if either of them disappear again. But I don't know what caused it to disappear in the first place so I have no real idea about that.
EDIT UPDATES:
Upon further inspection, renaming the layer did not work this time like it did last time. I cannot find any way to load the room properly again. It's not exactly a big loss in this case but if it happens again I may have a really big problem. I am going to try loading my backups to recover the room, otherwise I'm going to recreate the room from scratch.
NEXT UPDATE:
Hm, I have succeeded (?) at getting another test room to disappear. When I edits the .yy file for the room while GMS2 was running, the save/reload message popped up like, "changes have been noticed". I clicked reload, assuming it would read the changes to the files I made as apposed to overwriting them with the settings in the IDE. It didn't change at all. Then I saved and closed gamemaker. When I opened it again the room was not in the list.
But that leads to the question of how I would've modified a file while GMS2 was running (and why when the file looks and operates exactly correctly the IDE still doesn't recognize it). I wasn't messing around with internal files until this problem started happening. I assume it has to do with Github so maybe it has nothing to do with Gamemaker. But I'd like a pinpoint on the problem so I can avoid it happening again. I can't just... stop using source control.
EDIT: Add existing doesn't work. It says .yy is an incompatible file type. I assume that's not what you're supposed to load with that functionality, but then what am I supposed to load using that?
Last edited: