Tileset pieces don't show up in-game

I've come across a very weird thing while mapping with MV.


Whenever I place a piece of tilesets that overlap with another, it all gets out of place and messed up when I test the game.


I thought it was a plugin doing this somehow, so I made a new project and copy-pasted one of the maps with the problem.


Well... it didn't solve much.


Then I made a completely new map and tried two things:


1 Placed a piece with no other pieces (save for the grass) underneath.


2. Made the same piece but with another underneath.


This is the result:

Spoiler
DEPPRPRP.png



And this is how my map looks like in the game:

Spoiler
DEPPRPRP2.png



Finally, how it looks in the editor:

Spoiler
DEPPRPRP3.png



I definitely think It's an overlap problem and cleaning up what's under the current tile resolves the problem, but It's a bit annoying.
The only cases I've heard so far with this happening is if one of the tiles used has a star passability.


Star passability forces the tile to the top and messes up differently between editor and ingame.


If you need star passability (which is common for roofs) you need to make sure to place the tile with the star passability last in the editor - which should be normal as that is the tile you want on top, or it would not be set to star.


If it's already messed up in the editor, delete that position and place everything new i correct order - and I suggest using regular walls instead of grass for the bottom, layer, that's what the A4 tiles (walls) are usually intended for.
The only cases I've heard so far with this happening is if one of the tiles used has a star passability.


Star passability forces the tile to the top and messes up differently between editor and ingame.


If you need star passability (which is common for roofs) you need to make sure to place the tile with the star passability last in the editor - which should be normal as that is the tile you want on top, or it would not be set to star.


If it's already messed up in the editor, delete that position and place everything new i correct order - and I suggest using regular walls instead of grass for the bottom, layer, that's what the A4 tiles (walls) are usually intended for.



Yes, the roofs were indeed placed last in the editor, still I encountered the very same problem only when testing the game in any way. Apparently, if you delete all roofs underneath the tile with star passability, it works as intended. But I don't understand why it doesn't even work if you use them as events. It behaved as they didn't exist at all. Plus, it also behaved strangely when there was no wall underneath, but another tile with star passability.


I actually opened this thread thinking it was a bug with MV, and that it should've behaved in another way. I guess I should be


 more careful from now on when dealing with star passability tiles. Thanks for the insight!
Star Passibility is an intentional override to place the tile higher than anything, including the NPCs and the player - which means it has to end up above events to allow the NPC to (for example) walk under an arc. And we can't change that without creating other problems.

Original thread: https://forums.rpgmakerweb.com/threads/tileset-pieces-dont-show-up-in-game.61477/