관리 메뉴

有希

MoveTo is not working, NavMesh problem. 본문

프로그래밍/UnrealEngine4

MoveTo is not working, NavMesh problem.

有希. 2022. 1. 25. 23:17

포폴 작업 도중 잘 되던 인공지능의 MoveTo 함수가 작동하지 않는 일이 발생했다. 3일을 삽질하다가 알아내어 기록한다. (수십 번을 NavMesh 깔았다 삭제했다 반복...)

Level에 NavMesh를 깔아두었다면 RecastNavMesh 비슷한 이름의(4.26.2 ver에서는 이 이름) 것이 나는 깔지도 않았는데 자동 생성되었을 것이다. NavMesh만이 아니라 이 녀석도 지워야 한다.

싹 다 지우고, 다시 NavMesh를 깔면 된다. 이 녀석도 부모 클래스를 다시 깔았을 때의 오류 같은데... 쓰면 쓸수록 열받는 엔진이 있다?


When I'm using the MoveTo Task of BehaviorTree, Suddenly It is not even working. Below is the how I solved this problem.

1. Delete All of NavMesh you created exist on Level.

2. Find the RecastNavMesh(the name of this could be changed future version. I'm using 4.26.2) and delete it.

3. And Recreate the NavMesh.