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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
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.