Hello. My name is Gregory and I have started the unity lessons that exist on the internet. I personally know python and java, so c# was very close to the second language and it is not so difficult for me to adapt to it. This helped me write the code correctly and the “Roll-a-Ball Game” to run correctly. But as soon as I finished the build, instead of “Enemy” chasing me, I seemed to be chasing it. With a closer look, however, I realized that while he is chasing me, he is just keeping a distance from me. I looked at the settings in NavMeshAgent and everything looked correct.
I also looked at the settings in the “Player” and did not find anything.
Do you have a solution for this?