报错

Navagent “SetDestination“ can only be called on an active agent that has been placed on a NavMesh.

解决

检查角色身上的 Agent Type

:
是否和烘焙场景里面的 NavmeshSurfaceAgent Type 一致:
在这里插入图片描述

Logo

电影级数字人,免显卡端渲染SDK,十行代码即可调用,工业级demo免费开源下载!

更多推荐