MZ Map cant be deleted !

I have a map on my project that cant be deleted and it also is bugging the scrolling of the maps tab
(when using the bar)

it goes crazy for a second while scrolling.

the map is empty and is small, no event also
I don't know what caused this, but have you tried deleting the map file from the data folder?
Each map has an ID, so just find the .json file with the same ID and remove it.
this is what happens when i right click the name of the map on the editor
right click the name of the map on the editor
not in the editor - in the windows explorer

If you do not know where to find your project, click on game - open folder in the menu, then go to the data folder, search for the map ID and delete that file.
If you do not know the id, check the id for all other maps - the number you do not have there is the damaged map
ive deleted the map that in theory is the damaged 1
but now have 2 maps that cant be deleted
then your mapinfo file is damaged and needs to be replaced. That is the file that stores the maptree itself. And you deleted the wrong file

1) make a backup of your project
2) if neccessary, record or screenshot the current maptree - you'll have to resort the maps later
3) check the data folder for the maximum number/ID of the mapfiles.
4) make a new project and add as many (empty) maps to it as you have the number from the main project.
5) copy the mapinfo file (Nothing else) from the new project to the damaged project

you should now have a maptree where all files can be accessed, just without the former structure
6) resort your maptree until it is like previously

Original thread: https://forums.rpgmakerweb.com/threads/mz-map-cant-be-deleted.163921/