Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a6
2018.3.8f1
2019.1.0a1
2019.2.0a1
Issue ID
1136099
Regression
No
One tile is displayed when converting multiple tiles Tilemap to prefab and opening it in Prefab Mode
How to reproduce:
1. Open the attached "TileMapBug.zip" project
2. Create a Tilemap in the Hierarchy (right-click -> 2D Object -> Tilemap)
3. Expand the 'Grid' object, click on 'Tilemap' and paint it with tiles from 'Tile Palette'
4. Create Tilemap Prefab (drag and drop Tilemap object into Project Tab)
5. Double click on Tilemap asset ( from Project Tab) to open it in Prefab mode
Expected result: All painted tiles are displayed
Actual result: One tile is displayed
Reproducible: 2018.3.0a6, 2018.3.9f1, 2019.1.0b7, 2019.2.0a8
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
The Tilemap Component works in conjunction with a Grid Component. The Grid Component defines the layout of the Tilemap Component. The Tilemap Component will either use a Grid Component which is a sibling of the Tilemap Component or in a parent GameObject. Without a Grid Component, the Tilemap Component will assume that all the Tiles will be laid out in the same position.
When creating a Prefab of a Tilemap GameObject, always try to include a Grid Component in that Prefab, either on the GameObject of the Tilemap Component or on a parent GameObject.