unity agent bake not derecting mesh

Code Example - unity agent bake not derecting mesh

                
                        Open navigation screen
Click 'Object' on the navigation screen
Select the objects that should be detected
Check 'Navigation static'
Choose Navigation area
Bake

*Can be done with just inside Unity