I recently joined the babylonjs community and so far I am pretty happy working with this framework, thanks for developing and open sourcing it
There is however one problem we are currently facing in our business app. The GLTF loader is loading the associated .bin files twice. This can be reproduced with (I believe) any gltf loading example. Here is one demo project from the babylonjs documentation which loads a skeleton head: https://www.babylonjs-playground.com/#JA1ND3#48
You can observe the duplicated loading in the chrome dev network area:
In the playground, the glTF validator is turned on by default. The two bin loads are due to that. At some point, we may be able to consolidate the code such that it doesn’t do this, but it shouldn’t be an issue in production environments.
Thank you!
For us the production build matters the most. It’s not a big deal if the binary files are loaded twice in dev mode. We will remove the inspector dependency to fix the issue.
Turning off the validator is helpful though, thanks. The decreased loading time of our app will increase development efficiency.