Thinking about your reply, I thought you might be talking about the fact that, using a GLTF, we’re indeed have an inherent dependence to its BIN file, so using the GLB counterpart would fix the issue.
Sadly, I was wrong, as we’re getting the same two-time-100% reached behavior (as I’m using now a faster computer from yesterday, we don’t get intermediary percentages before hitting the 100%):
So what other kind of dependencies can we have involved here?
…so well, I don’t have the luxury of the onSuccess callback and must (I suppose) fake it, by checking the 100% completion in onProgress callback. Maybe I’m missing something here, as I find it a bit annoying not to have that onSuccess goodie. This said, perhaps I must consider forgetting the Async, changing for ImportMesh.
As I don´t see the issue running your PG or this other (ImporMeshAsync one) so I guess the issue comes from the local web server I’m using here. I’m going to check it with XAMPP and let you know.
I think I was editing my last entry while you were writing yours.
I get a clean console output from both PGs (ImportMesh and ImportMeshAync), so I think now as you, that in my case this is an issue from the local web server. As said, I’m using Live Server for VSCodium.