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
- Video does not play in macOS build when built app is placed in a path with a space in it on a specific project
 - Crash on AuxWindowManager::OnGotFocus when trying to maximize a tab while Visual Effect Graph window is open
 - “NullReferenceException: Object reference not set to an instance of an object” error is thrown when
 - [Metal] Game freezes after command buffer Timeout error
 - Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
 
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.