Skip to content

Uncaught TypeError: Cannot read properties of undefined (reading 'originalColor') #5212

@mikemainguy

Description

@mikemainguy

Description:

  • A-Frame Version: 1.4.1
  • Platform / Device: Oculus Quest 2
  • Reproducible Code Snippet or URL: https://dev.immersiveidea.com/local
  • launch that site, go into immersive mode, and hit b button on controller

local:15 Uncaught TypeError: Cannot read properties of undefined (reading 'originalColor')
at NewComponent.updateButtonModel (aframe-master.js:18543:1)
at NewComponent.updateModel (aframe-master.js:18538:1)
at module.exports.onButtonEvent (aframe-master.js:34703:1)
at AEntity.onButtonTouchEnd (aframe-master.js:18275:1)
at AEntity.nrWrapper (local:15:29524)
at AEntity.emit (aframe-master.js:25830:1)
at NewComponent.handleTouch (aframe-master.js:22514:1)
at NewComponent.handleButton (aframe-master.js:22440:1)
at NewComponent.updateButtons (aframe-master.js:22426:1)
at NewComponent.tick (aframe-master.js:22385:1)

I don't observe functional change (button events still fire and my app works), I'm not sure if there's supposed to be other things happen (my buttons and thumbsticks are all black and hard to see...IDK if I've misconfigured something or something changed when we added the button color changes....which I really like BTW.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions