Tilemaps dissapearing bug?

Hello there,

I have a question, iam making a map for my 2d rpg game, each time when i use multiple tilemaps some tilemaps will dissapear after i restart unity, the placed tiles on that tilemap are not visible but they are there when i start the game can someone help me ?

When i go out 2D mode i can see the placed tiles but in 2D mode i cant see them.

I found out that my tilemaps are not overlapping the first one, but in the beginning they do. its only after a restart or when i undo something with ctrl z

SCREENSHOTS:



See this picture, this tilemap is not overlapping the first

This is probably a case where you don’t have the proper settings for your tilemap renderer layers and/or ordering.

When you’re rendering a sprite Unity needs an idea of what comes first. The way it handles it as such:

  1. Does the renderer have a higher sorting layer?
  2. Does the renderer have a higher order in its sorting layer?
  3. Is the renderer closer to the camera?

If all of those values are the same, it won’t be able to know what to place first. In order to circumvent this, you can fix any of the above. I would personally suggest going to your tilemap renderers, opening the “Additional Settings”, and fiddling with the “Order in Layer” field.

Fixed it, set it to individual mode instead of chunk, thanks for your reply