Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.2.0b7
2019.3.0a1
Issue ID
1170035
Regression
No
[Tilemap] Placing a tile on grid from Tile Palette has offcentered wireframe when Cell Layout is set to Hexagon
How to reproduce:
1. Open attached project
2. Open Tile Palette
3. Select middle tile
4. Try placing it on Tilemap.
Expected result: Hexagon Tile wireframe is centered when placing on Tilemap
Actual result: Hexagod Tile wireframe is offcentered when placing on Tilemap
Reproduced with: 2017.4.30f1, 2018.4.4f1, 2019.1.11f1, 2019.2.0b10, 2019.3.0a10
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
The placement of the Sprite on a Tilemap is dependent on the position of the Tile Anchor property in the Tilemap. If the Tile Anchor is set to (0.5, 0.5, 0.0), it means that it is centered at the (0.5, 0.5, 0.0) position of the cell in the Tilemap. For Rectangular Tilemaps, it means that the Sprite of the Tile is placed at the center of the cell, which makes sense for Rectangular Tilemaps. For Hexagonal Tilemaps, the center of the cell is the (0.0, 0.0, 0.0) position. By default, when creating a new Hexagonal Tilemap, the Tile Anchor is set to (0.0, 0.0, 0.0) for this reason.