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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
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.