Navmesh error with 5.0.0-alpha.8

I’m using NPM version recast-detour 1.1.0 in my current project. With version of BJS 5.0.0-alpha.8 I’m getting the following error:

Uncaught TypeError: this.bjsRECASTPlugin.navMesh.update is not a function

It used to work with BJS 5.0.0-alpha.6. May it be that the NPM package hasn’t been updated to reflect the changes being made recently to RecastPlugin on BJS side?

Any help appreciated :slight_smile:

Hi @holger
I didn’t publish a new NPM for recastjs yet because I want to check my update on dynamic obstacle was working fine.
No issues so far so I’ll release a new npm today. I’ll keep you posted when it’s available.

@Cedric thanks :slightly_smiling_face:

npm 1.2.0 has just been published
Let me know if it fixes your issue :slight_smile:

2 Likes

Yep, it works, thanks :slight_smile:

1 Like