I have a Threejs scene within an Angular web application I am developing. The gltf model is not loading. Within my ‘assets’ folder is my model.gltf and model.bin file. If I look in the Chrome developer tools Network tab I can see that the .gltf file is loading but the .bin file is not listed as either successful or failed, but it hasn’t loaded.
The web application is published within a sub-directory in IIS and the html Base Href is set accordingly. The rest of the web application runs fine. If I point IIS at the web app parent folder the .bin file fails to load. If I point IIS at the Angular ‘dist’ folder within the web app parent folder the .gltf and .bin file load, I can see them both loaded in Chrome dev tools and the 3D model is displayed.
Can anyone suggest where I am going wrong please?