Babylon.gui.min.js:16 Uncaught TypeError: Cannot read property 'viewport' of undefined

Did something change today? I’m suddenly getting these exceptions in BJS mouse move code.
—bjorn

babylon.gui.min.js:16 Uncaught TypeError: Cannot read property ‘viewport’ of undefined
at e._doPicking (babylon.gui.min.js:16)
at r.callback (babylon.gui.min.js:16)
at e.notifyObservers (babylon.js:16)
at e._checkPrePointerObservable (babylon.js:16)
at e._onPointerMove (babylon.js:16)
at r.callback (babylon.js:16)
at e.notifyObservers (babylon.js:16)
at HTMLCanvasElement._pointerMoveEvent (babylon.js:16)

Do you have a repro?

Adding @PolygonalSun.

While trying to create a tiny sample I found the issue, our dispose code left some caches around. My bad. Sorry for the interruption.
—bjorn

2 Likes