Hello - I am loading two scene.glTF models (downloaded from SketchFab) and both throw an XML parsing error in Firefox but not Chrome or Edge. The models render but I would like to get rid of the errors.
I examined the files in a JSON validator which reported valid.
Hello Deltakosh - Thanks for responding. I can not recreate when I load the models from a public github raw file (https://playground.babylonjs.com/#XXLE1N#1). However, one of my models was purchased and I can not make it public. The app loads regardless of the error(s). At this point I am moving on and consider this issue closed.
I have been ignoring this error for awhile, as it does not actually stop things from loading, just makes some console spam for every mesh I load. But, where exactly would I set that content type so it returns correctly?
I am using standard add MeshTask: pwtMeshLoader.assetManager.addMeshTask(meshName, "", meshPath, meshFName);
and figure the best place is inside that function, but that would involve extending babylon and that just does not seem right. What would be the easiest way to set this?