aframe-keyboard icon indicating copy to clipboard operation
aframe-keyboard copied to clipboard

Not working with aframe 1.1.0

Open kikoano opened this issue 4 years ago • 2 comments

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)

kikoano avatar Dec 29 '20 06:12 kikoano

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

avasconcelos114 avatar Jan 01 '21 11:01 avasconcelos114

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)

  • https://cdn.jsdelivr.net/gh/aframevr/aframe@1a5f2348ffe8647e65e0c14788f5ae2bf27ed0cc/dist/aframe-master.min.js

Let me know if this works for you!

avasconcelos114 avatar Jan 01 '21 12:01 avasconcelos114