How to GET the NavMesh bake settings in a script?

8726037--1180347--upload_2023-1-12_16-4-6.png

How do we get these values in a script so we can validate that they are correct according to our requirements ( other than asking a human to manually inspect every scene )? It would be nice to set them from a script, but need to at least be able to read the values and throw an error if they are not as expected.

Thx :smile:

Update… we can achieve it by directly parsing the unity scene file as text and testing the key value pairs. But if a more graceful way exists, please let me know.