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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
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.