Feedback Renaming objects makes all changes lost

Discussion in 'GameMaker Studio 2 Community Tech Support' started by D1Project, Feb 17, 2019.

  1. D1Project

    D1Project Member

    Joined:
    Aug 23, 2016
    Posts:
    26
    Hi,

    I just renamed an object and lost a whole morning of work.
    When I reopened the object, the codes were back to the previous codes.
    Is there anything that can be done here?

    Thanks
     
  2. immortalx

    immortalx Member

    Joined:
    Sep 6, 2018
    Posts:
    223
    When you rename an object in the resource tree you have to manually rename all references of it in code. It's not done automatically. If that's what you meant.
     
  3. D1Project

    D1Project Member

    Joined:
    Aug 23, 2016
    Posts:
    26
    This is not the issue I had.
    I duplicated an object, then made modifications to its create and step events.
    But, before running the game to test it, I renamed it (to comply with the project's naming convention).
    But renaming it lost all modifications made.
    So the game just loaded the codes of the object it was duplicated from.
     
  4. TsukaYuriko

    TsukaYuriko Q&A Spawn Camper Forum Staff Moderator

    Joined:
    Apr 21, 2016
    Posts:
    1,045
    Where is your project stored? If it's in any folder that's linked to a cloud sync service, move it out of there as soon as possible. Such software may interfere with the way data is saved and loaded, such as blocking write access to the file in question or erroneously assuming that a file was first deleted and then later restored, restoring the last synced version in the process.
     
  5. D1Project

    D1Project Member

    Joined:
    Aug 23, 2016
    Posts:
    26
    Ok, thank you.
    I will do this then.

    Wasn't this supposed to be fixed in the last patch (v2.2.1.375 - Systems for avoiding project-saving issues)?
     
  6. TsukaYuriko

    TsukaYuriko Q&A Spawn Camper Forum Staff Moderator

    Joined:
    Apr 21, 2016
    Posts:
    1,045
    No. To quote the release notes about that change:
     
  7. EvanSki

    EvanSki Member

    Joined:
    Apr 17, 2018
    Posts:
    339
    Dont use anything but your C:/ Use a single drive in youre computer, C, usb, when working on your project,
    to save BACKUPS of your project use oneDrive/dropbox/google whatever
     
  8. D1Project

    D1Project Member

    Joined:
    Aug 23, 2016
    Posts:
    26
    Thanks all. Will do.
     

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