Unfortunately even after that it failed.
I had a simple scene, light, camera and a cube and following 2 depenendencies
“babylonjs”: “^8.56.2”
“babylonjs-inspector”: “^8.56.2”
It failed with error.
Uncaught TypeError: Cannot read properties of undefined (reading ‘NONE’)
at 2023 (gltfLoaderOptionsTool.tsx:15:58)
Anyway after much trial and error I found you had to add few more dependencies.
The following and in this order
Maybe the docs should be updated to say you need these dependencies for UMD to work.
As an aside I found the playground download to be weird.
Had code encoded with base64.
Isn’t this meant for educational purpose?
New comers would have a tough time figuring this out
Why would anybody download ?