Erased object still taking up map space.

Salutations!

I'll get right to it: I've noticed that, if I change the layout of a previously saved map and erase objects, (even if said object is erased and replaced by floor tiles on which, in the database, there is an O not a star or an X) I still cannot walk over said floor tile as it's still counting the previously erased object as being present. It's also inconsistent as to which erased objects will still be in the way, and the only way to determine if there is a problem is to play test each map. So far the only way I've mitigated this problem is to completely remake a map, and yet I still have instances of places where I've erased objects like walls, chairs, benches, tables, and they're still counting as being present. How do I resolve this without having to completely start over?

(I'm sorry I don't have captures of this problem, I don't have capture software on this computer.)

Thank you in advance, I appreciate it. (Also, if there's already a thread on this and I've missed it, I apologize, I couldn't find one.)
Moderator note: Moving to MZ Support

Because (AFAIK) you are the only one reporting this issue, I'm thinking it's more something you've done than a bug with the engine.

When you erase, what tile are you using as the eraser? Just any blank tile? Only the top left (first) tile in the B tileset is the eraser. There isn't even one on the A tilesheet.

Are you using auto layering, or are you manually controlling which layer you're drawing (and erasing) on?

Does this happen fairly randomly, or can you consistently reproduce the issue? I'd be really interested in having you do the following in a brand new project:
- make and draw on a new map, then save
- copy that map and paste to a new one, so you have two identical maps, and save
- go back to the first map, do your erasing and stuff, to the point where you have a few locations on the map that show this problem
- zip up your data folder and send it to me

If you make sure you're using just the resources that come with a new project and don't add any new tilesets or characters or anything, the data folder will have everything I need. Also don't add or activate any plugins.
Moderator note: Moving to MZ Support

Because (AFAIK) you are the only one reporting this issue, I'm thinking it's more something you've done than a bug with the engine.

When you erase, what tile are you using as the eraser? Just any blank tile? Only the top left (first) tile in the B tileset is the eraser. There isn't even one on the A tilesheet.

Are you using auto layering, or are you manually controlling which layer you're drawing (and erasing) on?

Does this happen fairly randomly, or can you consistently reproduce the issue? I'd be really interested in having you do the following in a brand new project:
- make and draw on a new map, then save
- copy that map and paste to a new one, so you have two identical maps, and save
- go back to the first map, do your erasing and stuff, to the point where you have a few locations on the map that show this problem
- zip up your data folder and send it to me

If you make sure you're using just the resources that come with a new project and don't add any new tilesets or characters or anything, the data folder will have everything I need. Also don't add or activate any plugins.
Thanks for the reply!

Honestly if it is something I'm doing wrong I'll be over the moon to fix it, hahah! I'm using the blank tiles from A and B tabs to erase respective objects:

1625144956792.png


I've used these interchangeably a couple of times and the results were the same either way (and I have been able to walk over tiles I've erased by both means). I am also using the manual layering because it makes it easier for me to situate objects in a scene. I've actually tried both forms of layering and it doesn't seem to matter which I use, either way if I erase an object sometimes I can bypass the tile I've erased on, sometimes I can't.

I did as you asked, I set up a test. In the lower left hand corner of the map, I erased with the B tile and in the upper right hand corner of the map, I've erased with the A tile. Both have produced the same results and I can't bypass objects.

Thank you so much for taking the time. If this turns out to be something I've done wrong I apologize, I know it's a lot of running around so, I just want to let you know I appreciate it.
The A tile you have used to erase is impassable. The B tile is the correct erase tile with passage set to star. If you erase using autolayers, this should be okay, but if you erase using manual layers, and you erase anything but a lower tile using the A tile, I think it would cause problems.

I will grab this and take a look after work today, or tomorrow. In the meantime, could you grab a screenshot of your map (the one you erased tiles from) and highlight the tiles it won't let you walk over?


Edit: got your project. I can confirm that what you've done is switched layering to manual, then used that "empty" A tile to erase stuff on layers other than the lowest one. To prove it, I put a big red dot on that tile to see where it would show on the map.

Screenshot 2021-07-02 175904.png


That tile has a passage setting of X.


I suggest you don't use that tile to erase at all - the top left B tile is the erase tile. If you don't like what's on the ground layer, draw over it with something else. If you really don't want ANYTHING to be there, use that tile, but make sure layer selection is automatic, or that it's manual AND you're on the lowest layer.
The A tile you have used to erase is impassable. The B tile is the correct erase tile with passage set to star. If you erase using autolayers, this should be okay, but if you erase using manual layers, and you erase anything but a lower tile using the A tile, I think it would cause problems.

I will grab this and take a look after work today, or tomorrow. In the meantime, could you grab a screenshot of your map (the one you erased tiles from) and highlight the tiles it won't let you walk over?


Edit: got your project. I can confirm that what you've done is switched layering to manual, then used that "empty" A tile to erase stuff on layers other than the lowest one. To prove it, I put a big red dot on that tile to see where it would show on the map.

View attachment 194058

That tile has a passage setting of X.


I suggest you don't use that tile to erase at all - the top left B tile is the erase tile. If you don't like what's on the ground layer, draw over it with something else. If you really don't want ANYTHING to be there, use that tile, but make sure layer selection is automatic, or that it's manual AND you're on the lowest layer.
Ah damn I didn't even see that. I think because I left my transparency on clear instead of switching it, somehow my brain never recognized when I was editing tiles that, I needed to either make changes or recognize it as impassible. Oof I feel so silly for not recognizing this sooner. I am grateful for your help, and I apologize for all the fuss. B tile exclusively for erasing it is! Thanks for troubleshooting with me, I appreciate it.

Also, I wanted to give you this:

Shaz.png

Your icon was all I had to go on but, I figured I wanted to give you something as thanks (seeing as how my problem turned out to be user error ;>.>). It's not much but, I hope you like it. Cheers and have a good weekend. 🙂
That is awesome, and a little more of a "don't touch my acorn" attitude there - that blue squirrel means business! Thank you.
That is awesome, and a little more of a "don't touch my acorn" attitude there - that blue squirrel means business! Thank you.
Hahah, always! Glad you like it. 😀

Original thread: https://forums.rpgmakerweb.com/threads/erased-object-still-taking-up-map-space.137961/