Sandbox loading non GLTF specification model error:
see: sandboxView
This GLTF model specification prompt
But for other online previewers, it is possible to load and display the model without blocking it.
for example:
gltf-viewer
playcanvas-viewer
I think for undamaged models, blocking should not be loaded

This is the reason why Babylon loader is blocking it. If we detect a node being loaded multiple times, we throw this error. Node 0 is both a root node and a child node of Node 1.
1 Like
Can the loader be made more general, as I found that only babylonjs is blocking
It is an interesting question: I would highly recommend NOT to do that. If a file is wrong we should not compensate on the loader side. Else it will promote gltf files which are not valid and may not work on other loaders.
I would recommend instead to fix the source (or the exporter generating that file)
4 Likes
Generally, we have made some exceptions and changed some loading failures to warnings, but I think it’s a bad idea in this case. This check prevents node hierarchies that are circular or recursive which will result in a stack overflow. We can maybe stop loading just this part of the hierarchy and show a warning when this happens, but the result will be undefined and probably wrong, leading to other issues.
1 Like