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

Windows Issues Saving Project or Committing ("One or more files are locked")

S

Suleiman212

Guest
Hello,

I'm using Windows 10, GMS2, IDE v2.1.1.241 Runtime v2.1.1.158. I was editing a sprite, and after finishing my changes I pressed ctr+s to save. GMS2 crashed, and upon reopening, the sprite seemed to be corrupted, half of my changes were present but the other half were not, and not even chronologically, it appeared to have kept a random portion of my changes. From then on, if I make changes and attempt to save, I will get the following error:

"Unable to save the following files (please see the output panel for more details)."

In the output panel, I get the following message, repeated a bunch:

"SourceControlAction:SaveModel: Source Control Add Failed"

Additionally, if I attempt to restore to a previous source control version, I get the following error:

"One or more files are locked. Please check that none of the files are open in external programs. Do you want to try again?"

I don't have any other IDE open, nor any other program modifying any sort of file related to the project so I'm not sure what it's referring to. I even attempted to close every window and editor in the IDE but still get this error. Once I press No that I don't want to try again, I get this message:

"Be aware that this may have broken your project, as teh command was not successful and you have chosen not to retry it."

Which is pretty disheartening. Anyone have any idea what's going on here? Any help would be appreciated.

I've tried restarting my computer, closing GMS2 without saving and reopening, neither make a difference.
 
Last edited by a moderator:
S

Snake Nox

Guest
I havent lost any work, but I have gotten the message "unable to save the following files (please see the output panel for more details)" when copying and pasting. This is pretty new for me, and I fear it may get worse. I would love some aid in this as well.
 
  • Like
Reactions: JAG
R

RSB

Guest
Just got GMS2 to evaluate it for possible development of a project. I'm encountering the same error as OP. Prior to this, I wasn't even able to save a project, this was rectified with an uninstall/reinstall action. Now I encounter errors every time I make a change to something. Quite a bit concerned to commit to your platform for development.
 
Top