Question - IDE My project frequently becomes unable to save for no apparent reason

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Peej4321, Nov 9, 2018.

Tags:
  1. Peej4321

    Peej4321 Member

    Joined:
    Nov 9, 2018
    Posts:
    7
    Whenever I change anything in my project, there's a small chance that the next time I save, it says that it's unable to save that thing that I just changed, for no apparent reason. This also makes it impossible to run my project any time this happens because it has to save first. Usually this can be fixed by closing game maker and opening it up again. But recently this hasn't worked with when I change a certain room in my project, and I just can't ignore it anymore. I think it'll let me save if I delete the room and remake it again.

    Why is this happening? Does this happen to anyone else? How can I stop it?
     
    Kezarus likes this.
  2. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    3,227
    This is likely caused by other programs fighting for access to your project's files, and you get that message when GMS 2 loses.

    For starters, DO NOT store the working copy of a project on automatically synchronized cloud storage like Dropbox or OneDrive, store only backup copies of it there. Also consider putting your project directories in the whitelist for your antivirus suite's real-time scanner.
     
    Kezarus likes this.
  3. Peej4321

    Peej4321 Member

    Joined:
    Nov 9, 2018
    Posts:
    7
    Thanks.
     
  4. Peej4321

    Peej4321 Member

    Joined:
    Nov 9, 2018
    Posts:
    7
    My whole documents folder is currently being backed up automatically, and that includes the working copy of my project. Is it okay to just move it somewhere else, or will that cause game maker to not be able to find it?
     
  5. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    3,227
    Then that's the problem. Your automatic backup program is fighting with GMS 2 over access rights to project files. Either you move the working copy, or reschedule the backup program to run when you are definitively away from the project (e.g. lunch time, bed time, etc.).

    If you choose to move, you can move it anywhere, so as long as the files inside are still in their right places.
     
  6. Peej4321

    Peej4321 Member

    Joined:
    Nov 9, 2018
    Posts:
    7
    Well I just tried moving my "Game Maker2" folder from documents to elsewhere, and game maker can't find it by default anymore. It just created another folder with the same name in documents, but it's empty. So will it be fine if I manually open it from elsewhere?
     
  7. immortalx

    immortalx Member

    Joined:
    Sep 6, 2018
    Posts:
    66
    You didn't have to move the gamemaker folder, just save the project to a new directory and keep working from there
     
  8. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    3,227
    You don't have to use the GMS 2 welcome screen, just double-click the .yyp file inside the project and it will open in GMS 2 automatically.

    If you do want to use the welcome screen, just set the new workspace directory in File > Preferences > General Settings > Paths > 'My Projects' directory.
     
  9. Peej4321

    Peej4321 Member

    Joined:
    Nov 9, 2018
    Posts:
    7
    Thanks.
     
  10. bsabiston

    bsabiston Member

    Joined:
    Jun 21, 2016
    Posts:
    167
    This happens to me every time I work with Gamemaker these days, and it isn't because another application is accessing the files. GMS2 - at least the Mac version - has a serious bug that they need to fix ASAP!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice