I wanted to change the radius of my Agent type so my NavMesh can be generated dynamically and won't be affected by scale. I searched a lot but it seems that you can only change the agent type of the NavMeshSurface and you can't change the radius of a certain agent type. I'll appreciate if someone can help me with this. Thanks
You're looking for NavMeshBuildSettings.agentRadius, this allows you to build a new agent type with a custom radius. If you then use NavMeshBuilder.BuildNavMeshData and NavMeshBuilder.BuildNavMesh you can generate a new Navmesh set to that agent type. Don't forget to assign the agent type ID to your agents, else they won't use the new NavMesh.