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
- “Label” name in Sprite Library Editor window lacks character limit causing long names go under the Object Field
- Preview image (screenshot) is not available after capturing snapshot in Memory Profiler
- Crash on UNITY_FT_Stream_ReadAt when changing TMPro properties after unloading an AssetBundle
- Particles spawn at the same position when using raw byte address buffer in VFX Graph
- Decal Shader Graph - Custom vertex interpolators are always 0
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.