Changes to Game wont Save

I recently got a new laptop, and ever since porting my RMMV project over I have been unable to save any changes I make to my project. I save the changes in the editor, and they stay changed; however, none of the changes take effect when I playtest.

I originally thought that this might be a result of my saving project on the desktop, but even after moving it into MyDocuments, the changes still have no effect on the game.

I would appreciate any thoughts!
Any saves will not update the current save file and the current map. You need to always test a new map and/or a new game to confirm them.

Also MyDocuments might not be saving it properly due to how that is set up. I'd never put a project there.
I would not put any projects in any Windows-created folder (Program Files or My Documents or any other default Windows folder) because I've had the experience that Windows Update has changed some of my stuff. Also don't put it in any folder that syncs with an online source - no Drive, Windows Live, Dropbox, Steam cloud, etc as numerous people have had files corrupted doing that (do it for backups if you want, but not your working project).

When you playtest, are you loading a previously saved game, or starting a new game? Do you have any plugins? I believe the engine is meant to detect when you've made changes to maps and reload a map if you load a save file, but at least in earlier versions this did not happen - you had to leave the map and come back for changes to take effect. And changes to actors will definitely not take effect if you made a save file after the actor joined your party, because actor data is saved with the save file, so will always be the "version" of the actor that was in the database at the time the 'new game' was started.
@Matt Slykhuis
open your project directory. Is there a folder named WWW?
If yes, you made the mistake of deploying your game into your project directory. There must not be a WWW folder inside the project directory, that folder should only be on deployment in output directories.

if there is such a folder you need to repair the project by deleting that folder and replacing the wrong packages file in the project with one from a newly created project.
@Matt Slykhuis
open your project directory. Is there a folder named WWW?
If yes, you made the mistake of deploying your game into your project directory. There must not be a WWW folder inside the project directory, that folder should only be on deployment in output directories.

if there is such a folder you need to repair the project by deleting that folder and replacing the wrong packages file in the project with one from a newly created project.

@Andar I think the www file just might be the problem. Unfortunately, if I delete any part of that file (even just one subfolder) the project wont playtest anymore (I get a black screen). Is there some reason that my game is looking in www for all of the data/assets, instead of looking in the main folder?

Thanks for your help!
The precise problem is inside the "package.json" file, this defines where the program should start from. If you open that file in a text editor, you will see in one of the fields (pretty sure it's called "main") has "www" in there, causing the program to look for everything inside the "www" folder.

This would have happened if you *deployed* the game inside its own folder, which overwrites the "package.json" file.
(See also this thread requesting to prevent this from happening)

How to fix? You can edit the file manually in a text editor and remove the "www" from that field. However, Andar has a better idea, which is to copy over a fresh package.json from a new project.
the project wont playtest anymore
of course it won't playtest if you don't take the second step I already mentioned.

The www folder contains the old version of your game, the one that has no changes since deployment and where your playtest has been redirected to. All changes you made are stored OUTSIDE the www folder, so it needs to be completely deleted - but after deleting it you still need to redirect the playtest to where it belongs, and that is why you have to replace the wrong package.json now in your folder with the correct one you get from a new and not yet damaged project.
of course it won't playtest if you don't take the second step I already mentioned.

The www folder contains the old version of your game, the one that has no changes since deployment and where your playtest has been redirected to. All changes you made are stored OUTSIDE the www folder, so it needs to be completely deleted - but after deleting it you still need to redirect the playtest to where it belongs, and that is why you have to replace the wrong package.json now in your folder with the correct one you get from a new and not yet damaged project.

So delighted to have this fixed. Thank you so much for the help!
The precise problem is inside the "package.json" file, this defines where the program should start from. If you open that file in a text editor, you will see in one of the fields (pretty sure it's called "main") has "www" in there, causing the program to look for everything inside the "www" folder.

This would have happened if you *deployed* the game inside its own folder, which overwrites the "package.json" file.
(See also this thread requesting to prevent this from happening)

How to fix? You can edit the file manually in a text editor and remove the "www" from that field. However, Andar has a better idea, which is to copy over a fresh package.json from a new project.

Got it. Works now. Thanks so much!
If your issue is resolved, report your first post and say so, and the mods will close the thread for you.

In future, make sure when you Deploy your game, that you don't deploy it into the project folder.

Original thread: https://forums.rpgmakerweb.com/threads/changes-to-game-wont-save.114119/