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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
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.