Babylon.js: Receiving console error when trying to update any value using debuging layer

Created on 12 Jun 2018  路  6Comments  路  Source: BabylonJS/Babylon.js

  • Bug repro on https://www.babylonjs.com/demos/glowingespilit/
    Steps:
    1) Open Control Panel.
    2) Click Debug Layer.
    3) Go to mesh view.
    4) Click on any mesh and try to update it's value
  • Expected result:
    Mesh data to be updated like position.
  • Current result:
    Nothing get updated and I receive this error in the console:

Uncaught TypeError: Cannot read property 'notifyObservers' of undefined
at n.set [as value] (babylon.inspector.bundle.js:2)
at n.validateInput (babylon.inspector.bundle.js:2)
at n._validateInput (babylon.inspector.bundle.js:2)

bug inspector

All 6 comments

Thanks for catching it
It is due to the new onValue Changed observable

Pinging @Jaskar

Sorry for the delay. A PR is coming to fix this!

@deltakosh is it possible to deploy the updated version ?

if you are referring to npm, I am publishing a new version very soon

Publication done and bug fix confirmed!
nice work guys

Was this page helpful?
0 / 5 - 0 ratings