Tileset overlaying / overlapping problem

The issue is quite annoying, because in editor everything is ok - https://prnt.sc/qxllpi

But during gameplay tiles looks like this - https://prnt.sc/qxll0e

I checked even default MV tiles on clean setup and this goes the same, especialy on tab C with roofs.
This problem is know for me long time, but this time that's the last straw.
that usually happens if you mix up star-tiles in the wrong way, because it's the star-passability-setting that overrides the regular behaviour.
Yep. You have two "upper" layers. In the editor, they show in the order you draw them. If you draw with a tile that has a star passage setting, then draw over it with a tile that doesn't, the first will show behind the second (or will be obscured by the second). But when you play, the one with the star tile will be shown above.

Star passage setting means "show above" and is only recognised when playing, not in the editor.

The particular tiles in your screenshot - I don't see any reason for the building tiles to have a star as passage setting - I would change that to an X instead. But I would expect the tree tops to have it, and if they were BOTH set to star, then the tree tops should show in front (I think).
Yup, I had a star-passage type set in database, problem is solved.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/tileset-overlaying-overlapping-problem.117941/