Hi,
While upgrading my currently used version of BabylonJS from 7.2.2 to 7.28.0, I came across the following error with react-babylonjs:
ERROR in ./node_modules/react-babylonjs/dist/react-babylonjs.js 9:0-70
Module not found: Error: Can't resolve '@babylonjs/core/abstractScene.js' in 'XXXX\node_modules\react-babylonjs\dist'
Note that this error occurs in BabylonJS versions 7.27.1 and above.
My guess is that abstractScene.js has been moved? I know in the past you have added stub files to keep compatibility with react-babylonjs so I just wanted to point it out.
AbstractScene was removed and no longer exists. it was an abstract, internal class so it wasn’t expected that someone will use it. I wonder where it is used in react-babylonjs. maybe @brianzinn can chip in?
I will remove the reference - looks like it was moved to IAssetContainer and implemented in Scene.
I would just say that at one point it was required (along with TransformNode, Mesh, AbstractMesh and Scene). Maybe this conversation will come up again when AbstractMesh is removed (AbstractMesh has a constructor!)