for some reason when I’m enabling frustum culling, on the corner of map there is a certain position and angle which a major visible tile is being culled. Changing the far plane of the camera didn’t change the problem. Any light on the frustum algorithm here?
with frustum culling
without
Try increasing the near plane as well. Unity has hard and undocumented limits on the far/near ratio, and if they’re exceeded, it just brings in the far plane without telling you.
Another possibility is that tiles are being selected using the wrong camera. Is this in Play-in-Editor mode? If so, remember that only Camera.main
is used to select tiles.
Finally, it’s possible that your tileset has incorrect bounding volumes. What tileset is this?