Just starting to try self hosting on IIS with the default project (My First Project) and only parts of it load, errors like “Invalid magic number found in glb header. Expected 0x46546C67, found 0x4f44213c” playcanvas-stable.min.js
Since I’ve made no changes to the project, does it mean there’s a problem self hosting on IIS with PlayCanvas? Sorry to ask but literally just getting started and found nothing useful from a web search. Would be good to at least prove that self hosting works.
Not an expert but you may need to make configuration changes on how the files are served on IIS. If you bring up the network tab in your browser, you can see the mime-type of the GLB files, what does it say?
You may also need to do this with other file types too
Brilliant, you are an expert after all - I’d added wasm but not glb - would be good if PlayCanvas added required mime types to their documentation.
All working - I can test a bit more now.
Added as an issue to the GitHub: https://github.com/playcanvas/developer.playcanvas.com/issues/357