美文网首页
NavMesh寻路报错

NavMesh寻路报错

作者: yiangdea | 来源:发表于2020-06-12 16:47 被阅读0次
    RuntimeNavMeshBuilder: Source mesh Combined Mesh (root: scene) does not allow read access.This will work in playmode in the editor but not in player
    

    正常来讲有两种情况:

    如果因为某些组件的mesh不支持读写

    image.png

    上述情况下,RuntimeNavMeshBuilder: Source mesh Combined Mesh (会显示mesh的名称)

    如果是报错 (root: scene)这种

    直接寻找当前参与烘焙的场景,一定有参与烘焙的物体,被标记了static,且这个物体的mesh没有给与读写权限
    我这个报错就是因为地面(plane)用的系统mesh,其无法修改设置。所导致的报错

    相关文章

      网友评论

          本文标题:NavMesh寻路报错

          本文链接:https://www.haomeiwen.com/subject/ytkntktx.html