Change the generation method to dynamic in the project settings, so that when the obstacle is updated, the navigation mesh can be dynamically updated