TileSet Error "E 0:00:01:0267 create_tile: Cannot create tile. The tile is outside the texture or tiles are already present in the space the tile would cover."

Godot Version

v4.2.2.stable.official [15073afe3]

Question

Hii!! This is my first time using TileMaps and I am not very familiar with the topic. The problem I am facing is that, after creating the atlas, on running the Scene with the TileMap I am getting around 298 errors of the same kind.

This is even before I am setting the tiles. The game is running just fine, but with these many errors. I dont know how to fix it. Please help.

1 Like

This should do the trick:

https://www.reddit.com/r/godot/comments/18hrprp/tilemap_errors/

Basically, look for this little warning symbol on the TileSet tab:

image

If you click on the three dots next to it, you’ll be given a couple of options to fix it. Choose Remove Tiles Outside the Texture and you should be good to go!

It’d be nice if that warning was a little more obvious :slightly_smiling_face:

3 Likes

Bro thank you so much I had the same problem

The fix I found was clicking NO to automatically creating tiles when adding the tile set

The ‘auto create’ made 400+ extra tiles for me was the cause. If you zoom out on your tile set, you may be able to see all the extra tiles that don’t exist.

1 Like

thx, I also meet the same problem, I also find if i have two more tileset, I need to swift to another and swift back the warining symbol appeared yet.