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

Question - IDE "Process cannot access the file" Problem saving

Status
Not open for further replies.
N

NinjaNick

Guest
Hi. This is my first post on here. I'm having a really annoying problem while compiling/saving. As it automatically saves before actually compiling it comes up with an error and stops.

SourceControlAction:SaveDocument: The process cannot access the file 'C:\......x.gml' because it is being used by another process.

(I've replaced the full path with ....)

This is really getting annoying. This can happen after a fresh boot without me going near the given file in any other software. I might be able to get a few compiles before it does it again. It's really slowing development!

Thanks
Nick
 

Nocturne

Friendly Tyrant
Forum Staff
Admin
Are you storing the files in dropbox or google drive or do you have some other backup solution that could be accessing the files when they are getting written? I've not seen any such error myself while using GMS, so I can only assume it's being caused by some external application affecting things. Oh, and is this GMS1.4 or GMS2?
 
N

NinjaNick

Guest
@Nocturne Google drive yes. Never had any other software (including v1 of GM) complain. I'm using v2. I had wondered the same, but surely I'm not the only one on Earth to use GM and Google drive together :D
@Bingdom Hmmm not considered that one!

Thanks
 
P

P3HWN1E

Guest
What i did as i am using google drive as well was to open taskmanager and stop a google sync program. after that i was able to save it again. Howerver if you do this it wont upload your files untill the sync programs are back up and running again :)

Edit: If you look in the small task window in the bottom right you can find the google backup and sync. If you open it there is an option to pause it. @NinjaNick
 
Last edited by a moderator:
J

joe kaye

Guest
FYI I came across this just now and as far as I'm aware it wasn't caused by any backup services (I did have 2 running but they weren't backing up this file and quitting them didn't help)

Anyway, it was an easy fix - I just moved the file it was having issues with (a script in this case) onto my desktop then copied a new version back into place and it saved no problem
 
D

Daikenki

Guest
Hello there.
I've been having the same issue since 3 days ago, and I've been stumped on continuing my project since then.
But mine is a little different, it only happens with sound files. I've been trying to add a new sound effect and I can rename it in the resource tree,
but when I try to import the sound, it says:

"SoundEditor:OpenFile:DeleteOld: The process cannot access the file 'C:\Users\user\Documents\GameMakerStudio2\X\sounds\sndStep\sndStep' because it is being used by another process."

I've tried deleting it and redoing it, restarting GMS2, restarting the computer. I don't even have an active antivirus, and nothing seems to work.
I'd really like some help so I can continue working on my project :/
 
T

treeno

Guest
Hello there.
I've been having the same issue since 3 days ago, and I've been stumped on continuing my project since then.
But mine is a little different, it only happens with sound files. I've been trying to add a new sound effect and I can rename it in the resource tree,
but when I try to import the sound, it says:

"SoundEditor:OpenFile:DeleteOld: The process cannot access the file 'C:\Users\user\Documents\GameMakerStudio2\X\sounds\sndStep\sndStep' because it is being used by another process."

I've tried deleting it and redoing it, restarting GMS2, restarting the computer. I don't even have an active antivirus, and nothing seems to work.
I'd really like some help so I can continue working on my project :/
Have you ever figured out a solution to this? im having the same exact problem. :/
 
Status
Not open for further replies.
Top