I just spent the last week working on a procedurally generated style game using Unity’s 2D tilemap system, and I do admit I was suprised to find it didn’t have the same functionality has GameObjects
Maybe it’s just me being a noob with the tilemap system, but I find it odd that you don’t have access to tiles the same way you do GameObjects, I know that makes sense if you’re just going to lay out the tiles yourself and that’s it, but using them for procedural generation is a lot more difficult and buggy than I would have expected, first off, you can’t access all the tiles in a tilemap, and loop through them to do stuff or whatever else you would want, I mean, you technically can if you write your script correctly, but it’s way more janky and time-consuming to do. And I also wasn’t able to place a tilemap collider 2D object at runtime either, I ended up having to loop through a function that places tiles individually and place a new GameObject with a box collider 2D attached using the tiles position, which btw, the tiles position was the only useful thing I could get out of the tiles at runtime. I’m not even sure if I would use the tilemap system again if I were to make a procedural dungeon game again, it’s just so difficult to use tiles in scripting for more than placing them
This is a niche issue though, so I get why the functionality hasn’t been added, I mainly wanted to post this to see how you guys feel about it, and also, was I just bad with tilemap scripting? or is it actually that difficult to work with tiles.