I just updated to 1.8.1 (from 1.6.2) and all my tiles just shifted one position down :| visually at least.
I position an object(the yellow one) by dragging and dropping it onto tile positions by using the following method.
I get a position of the the tile where my object was dropped (where the mouse is) by using the following.
var pos = CurrentTilemap.WorldToCell(Camera.allCameras[0].ScreenToWorldPoint(Input.mousePosition));
And use CellToWorld to get the position of the tile. I also use it to get and identify the tile as well (CurrentTilemap.GetTile(pos)).
var p = CurrentTilemap.CellToWorld(pos);
I then position my dropped object by using this, so that it sits exactly on top of it and not on the edge (0,0) of the tile.
p.x += CurrentTilemap.cellSize.x / 2; p.y += CurrentTilemap.cellSize.y / 2;
Right now, all my tiles seems to have shifted down visually, but the tile position remains the same; and CurrentTilemap.HasTile(pos) returns true when technically there is no visible tile there. I can open an issue on github if it helps; I'm unsure why this is happening. Any help would be awesome! Thank you.
ps: for the time being, I reverted back to 1.6.2 and re-imported all the tiles and it works fine :|