NavigationRegion2D ignores tilemap layer

Godot Version

Godot 4.2

Question

When baking Navigation Polygon Navigation Region should create navigation area based on tilemap’s collidable tile and it is working if collidable tiles are in layer 0 but if collidable tile’s are not in layer 0 then it is not baking navigation area.

sceen_tree looks like this…
root
|—NavigationRegion2D
|----Tilemap

The parsing only supports TileMapLayer0 because TileMap does not validate its layers.