WandererOU / aframe-keyboard

An Aframe component that renders a fully functional 3D keyboard, that works on mobile, desktop browers, and VR headsets!
https://wandererou.github.io/aframe-keyboard/examples/basic/index.html
MIT License
29 stars 19 forks source link

Not working with aframe 1.1.0 #21

Open kikoano opened 3 years ago

kikoano commented 3 years ago

It doesnt work on aframe 1.1.0. It crushes as soon as the component is added to a entity that in the scene.

Uncaught TypeError: Cannot read property 'array' of undefined
    at TextGeometry.computeBoundingSphere (index.js:96)
    at P.raycast (three.js:8649)
    at ki (three.js:34685)
    at Ui.intersectObjects (three.js:34733)
    at i.checkIntersections (raycaster.js:227)
    at i.tock (raycaster.js:199)
    at HTMLElement.tock (a-scene.js:764)
    at e.object3D.onAfterRender (a-scene.js:53)
    at We.render (three.js:18659)
    at HTMLElement.render (a-scene.js:798)
avasconcelos114 commented 3 years ago

Ah thank you for the issue report! I'll take a look at this issue and try to solve it

avasconcelos114 commented 3 years ago

As it turns out this was an issue with Aframe v1.1.0 itself, as further explained in this comment

Using the latest master build (using the URL below) instead of v1.1.0 seems to resolve the issue (and should be fixed by the next aframe release)

Let me know if this works for you!