donmccurdy / aframe-inspector-plugin-recast

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

Export failing for basic scene in Chrome 71 #12

Closed EricEisaman closed 5 years ago

EricEisaman commented 5 years ago

Here is the error.

aframe-inspector.min.js:25 Uncaught TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    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:9280)
    at HTMLButtonElement.exportBtnEl.addEventListener (aframe-inspector-plugin-recast.js:9115)

Here is a video illustrating the issue.

EricEisaman commented 5 years ago

screen shot 2019-02-03 at 5 59 52 am

EricEisaman commented 5 years ago

The navmesh is obviously present and functioning properly within the page. Is the actual mesh being stored somewhere other than within the navmesh element?

EricEisaman commented 5 years ago

The same failed export happens in Safari 11.1.

EricEisaman commented 5 years ago

Once I made a simple example static web page project it worked fine. There was something about the Node multiplayer server example I used that seemed to have contributed to the issue.

donmccurdy commented 5 years ago

Hm, glad you got it working! I'm not sure what would have broken it but if you are able to reproduce the issue later feel free to reopen this.

Leostorm3 commented 5 years ago

I am actually running into the exact same issue was there any update on this

donmccurdy commented 5 years ago

I can't reproduce this issue – you'll need to share information (ideally a demo) for me to help. It's very probably something specific in the scene you're trying to work on.