Error with Terrain Autotiling

Godot Version

4.7

Question

Hello! I’m getting familiar with the terrains and the autotilling in aisometric scene, i have configurated a terrain with all of the sides and corners and it seems to be working allright when im painting the tiles one by one, but as soon as i select the bucket tool the editor gets extremely slow as a bunch of error starts spamming:

ERROR: scene/resources/2d/tile_set.cpp:313 - Condition “p_terrain_set < 0” is true.

The way that i have setted up the tilemap is by having the usual tiles in a single atlas and then i’ve created another atlas for the terrain ones.

I kinda get that the error is coming because i have the regular tiles in a terrain -1, but thats not how we are supposed to set the tiles that don’t belong to any terrain? I’m a bit confused

Thank you so much!

I think the terrain sets should usually be numbered 1, 2, 3 and so on. Positive numbers.

But the thing is that by default the tiles that aren’t assigned to any terrain are settled as -1 so it shouldn’t show any error

I’ve tried putting all the tiles in the terrain 0, and it knda works

And when i select a tile within the “not autotiles” it can be bucketed

But when i try it with the autotile it doesn’t detect the tiles it only applies to all of the tiles at once