My game is running normally in the runtime editor. The problem occurs with the build result. seen in the Output Log that the agent (NavMeshAgent) was not created because it did not close enough to navmesh. whereas in the editor the problem did not arise. Next I attach a screenshot of my output log.
Maybe someone knows why this happens? and what is the solution ??