[GLTFLoader] not all objects are loaded

console.log(child.scene.children[0]):
image

sshows that there are 4 elements in the array, but inside is only two, where another two elements?

that’s a very confusing screenshot… can you share a demo? i don’t know how the JS Console would show this with any array, much less how GLTFLoader would factor into it sorry. :sweat_smile:

You see that little :information_source:-icon next to the first line? That means that once you expand the array, the value is evaluated at that moment. This probably means that at the time you wrote the console.log line in your code, the array had 4 elements inside it, but two of them were removed from that same array later, before you expanded the list in the inspector.

2 Likes