Game loaded wrong - maps missing

Recently, I loaded up my game, but some maps were missing from the maker's map selection list. I checked the JSON files, and they were all accounted for, just not when I load up the game for some reason. Is there a way to put the maps back into the file without having to remake them all?


(For example, say I only have 33 maps in my selector, but I have 41 maps made. The transfer calls I have to go to those maps work just fine, they simply aren't in the editor.)
Umm, how about you make a second version of your game with all the same data and see if the maps show up, sometimes certain projects do weird things even though when you transfer everything and do the exact same thing on another project it works fine. ( at least for me this happens )
Currently moving everything over. Will let you know if it works...
Nope. Everything is the way it was, still missing like 7 or 8 maps.
Have you messed with your project's maps file stuff in anyway? Try to make a blank map and transfer all of the data from your missing map's data to the blank one. ( I've never done that before so make a backup of your game in case it breaks. )
That actually worked. made new maps, imported the old, everything works fine. Thanks!
The MapInfos.json file is what controls what maps you can see in the editor and their hierarchy.  If you had copied that file in from another project, or an older version of this project, or somehow edited it to remove maps, it will cause the problem you're describing.


The easiest solution, if you can't find the correct version of that file, is to move the "extra" maps from the data folder to a temporary spot, create maps in the editor until you have the correct number, save and close the editor, then paste the original maps back in.  They'll all be there when you open the editor next, but you might have to rearrange them again to be in the right hierarchy.

Original thread: https://forums.rpgmakerweb.com/threads/game-loaded-wrong-maps-missing.74336/