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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
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.