Tilemap.SetTiles() does not work with rule tiles

I have code that collection positions and tiles and then does this:

_walkableTilemap.SetTiles(
  walkableTilemapPositions.ToArray(),
  walkableTilemapTiles.ToArray()
);

When walkableTilemapTiles is holding basic tiles, everything works fine however if it hold rule tiles, it does not work. No error or anything but the tilemap itself does not work. I will not that if I use _walkableTilemap.SetTile() for each position with rule tiles, everything works fine.

Is there a limitation of what kind of tiles work with _walkableTilemap.SetTiles()?

Hi, are you using Unity 2021.2? There is an unfortunate bug with this right now, more details at 2021.2.0f1 Tilemap.SetTiles not working as previous .

Yea, that is the issue, thanks for pointing me to that