Search Issue Tracker
By Design
Votes
0
Found in
2019.2.0a2
Issue ID
1120302
Regression
No
[2D] Cell Grid's "Cell Gap" resets to default values if "Cell Layout" is changed to "Hexagon" and back
Cell Grid's "Cell Gap" values are not retained after "Cell Layout" is changed to "Hexagon" and back
Note:
Refer attached video
Steps to reproduce:
1. Open Unity > Create New Project
2. GameObject > 2D Object > Tilemap
3. Select Grid GameObject
4. Change "Cell Gap" values of Grid component
5. Change "Cell Layout" to Hexagon
6. Change Cell Layout back to previous setting (Rectangle)
Actual result:
Cell Gap values are not retained and they are reset to 0
Expected result:
Cell Gap values are retained after Cell Layout is changed back from Hexagon
Reproduced in:
2019.2.0a2, 2019.1.0b1, 2019.1.0a15, 2018.3.3f1, 2018.2.20f1, 2018.2.0a9
"Cell Layout" option not introduced:
2018.2.0a1
Environment:
Windows & Mac
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note:
The Hexagonal Grid Layout uses a Cell Gap value of (0, 0, 0) and will override any user values when set as the Layout.