我在人物身上绑定 NavMeshAgent 组件 PathFinder = gameObject.GetComponent<NavMeshAgent>(); 之后 在update的时候调用 PathFinder.SetDestination(movePoint); 但是会报错 SetDestination can only be called on an active agent that has been placed on a navmesh 我google了一下 发现别人也有这样的问题 但是似乎没有搜到答案 我决定自己先去查找解决一下 如果找到答案了 贴到这里