Uncaught (in promise) TypeError: (f | 0) is not a function
at de (recast.js:19)
at Yg (recast.js:19)
at Bo (recast.js:15)
at Rq (recast.js:15)
at Nu (recast.js:31)
at Module._emscripten_bind_NavMesh_build_6 (recast.js:45)
at NavMesh.build.NavMesh.build (recast.js:45)
at RecastJSPlugin.createNavMesh (recastJsPlugin.js:118)
at Function._callee$ (RecastDetourManager.ts:137)
at tryCatch (runtime.js:43)
这么调用的
RecastDetourManager.getInstanceByNode(node, this.debugMate, Layers.Enum.DEFAULT, this.node).then((mgr) => {
this.recastDetourManager = mgr
})