On my TileSet, I added a navigation layer and marked grass as passable (i. e. added a full rect), I didn't mark trees though. My tilemap has 2 layers, with grass on the lower layer and a few trees on the upper layer. Now the grass "overrules" the trees so that the navigation agent thinks that trees are passable.
Without extra map authoring work or merging tree and grass into one separate tile, is there any way to fix this?