- Home /
The question is answered, right answer was accepted
tilemaps - prefab and tile issues
I created a custom tile with a prefab attached. I used the tile palette to make the map, and an instance of the prefab was created in the editor. I ran the game and another instance of the prefab was created. When I stopped running the game, a bunch of errors came up - Can't destroy Transform component of 'object'. If you want to destroy the game object, please call 'Destroy' on the game object instead. Destroying the transform component is not allowed". What am I doing wrong?
Answer by tws228 · Feb 13, 2018 at 02:44 AM
Figured it out - if the tile palette window is open, this can create errors with building and even opening the project in unity. Closing the palette window resolved the issue.
Wow, bugs like this are really annoying.
Do you know if there is a bug report open for this?
Follow this Question
Related Questions
Get Tile object from Tilemap instead of TileBase 2 Answers
Tilemap: Place or Destroy Tiles at Mouse Position 2 Answers
TILE MOVEMENT 0 Answers
How would I find neighbours of a tile in a grid ? 1 Answer
Unity 2D TileMap Rule Tile Carpet 1 Answer