Tilemap not showing up in main camera

I am new to Unity and am creating a Tilemap game. However my tiles that I have as my background do not show up in the main camera. I am using version 2019.4.4f1

Any ideas?

Could you share screenshots of your Tilemap Grid, Background and Foreground GameObjects in the inspector? It could be possible that they are behind the Main Camera, but in front of the camera used for the Scene view.

I changed my Near setting from 0.3 to 0 and it now can see it on camera

8 Likes

I guess the Grid and Tilemap GameObject have the z position of 0? If it does, the Camera’s near plane at 0.3 would have clipped it out. The Camera only renders items in its view between the near and far clipping planes. An alternative would be to set the Camera GameObject’s z position to -10 (which is our 2D Camera’s default).

I think the Problem is that your Camera has a Z Value of 0 normally its on -10. Try the default value

I have the same problems but your solution isn’t working

2 Likes

Greatly appreciated lmao, I was losing my shit for a second there. The camera was working fine for a while, then I created a separate camera to rework the code and thought my head was going to implode.