donmccurdy / aframe-inspector-plugin-recast

A-Frame Inspector plugin for creating navigation meshes.
MIT License
65 stars 15 forks source link

Got strange Error (see message ) at export. So build works and shows export fails ? #36

Open tkamsker opened 3 years ago

tkamsker commented 3 years ago

I got Uncaught TypeError: Cannot convert undefined or null to object at Function.keys () at C (aframe-inspector.min.js:25) at k (aframe-inspector.min.js:25) at S (aframe-inspector.min.js:25) at A (aframe-inspector.min.js:25) at aframe-inspector.min.js:25 at THREE.GLTFExporter.parse (aframe-inspector.min.js:25) at RecastPlugin.exportGLTF (aframe-inspector-plugin-recast.js:9046) at HTMLButtonElement. (aframe-inspector-plugin-recast.js:8881)

I use an OS X , google chrome and i am trying to do 20 files for a project 1 file worked so far ... so it is an awesome tool

donmccurdy commented 3 years ago

This presumably means there's something in your scene(s) that THREE.GLTFExporter cannot understand. If you have things like text, audio, LODs, points/lines, or other objects that aren't necessary for the navigation mesh, it might avoid the issue if you temporarily remove them while generating the navmesh.

Unfortunately I can't help much without a way to reproduce the issue you're seeing, though.

tkamsker commented 3 years ago

Hi, is it possible to send you that file that you have a look ? i could push this in an GitHub or zip archive for you ? thx thomas

Am 31.10.2021 um 23:50 schrieb Don McCurdy @. @.>>:

This presumably means there's something in your scene(s) that THREE.GLTFExporter cannot understand. If you have things like text, audio, LODs, points/lines, or other objects that aren't necessary for the navigation mesh, it might avoid the issue if you temporarily remove them while generating the navmesh.

Unfortunately I can't help much without a way to reproduce the issue you're seeing, though.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/donmccurdy/aframe-inspector-plugin-recast/issues/36#issuecomment-955805856, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALFEVRMI4ZR3NSX6DDXOYV3UJXB35ANCNFSM5HCNSM5Q. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

donmccurdy commented 1 year ago

See https://github.com/donmccurdy/aframe-inspector-plugin-recast/pull/47. Unfortunately the dependencies of this project are pretty old, and the lack of a stable and documented Recast WASM build has become a big obstacle. I'm no longer able to keep this project maintained. 😞