Flickering Tiles v3.0.3

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By happycamper

Tiles on my TileMaps randomly disappear and re-appear frequently and very quickly creating an annoying flicker on screen. The flickering happens regardless of moving the camera viewport. My tilemaps are 50x50 tiles of size 32px and I am creating multiple TileMap nodes in the scene tree. I have recently converted from godot 2 to 3 and did not have this issue in godot 2. My reason for having multiple tilemap nodes is because my game world is proceduraly generated and infinite expanding so this was an easier way to manage the regions. There are at most 15 TileMap nodes instanced at one time.

:bust_in_silhouette: Reply From: happycamper

Okay so I found that setting the Tilemaps Ysort on fixes this problem but at a heavy cost to performance.