-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URLs not ending with file extension can't be loaded by appendSceneAsync()
#15793
Comments
As stated in our issue template please start with the forum |
And here is your fix: https://playground.babylonjs.com/#WGZLGJ#10767 We ask to chat on the forum first so we augment our knowledge base there |
Thanks for the note, I opened issues here in the past just fine so must have overread the new note about the forum. I still believe this is a bug – it should not be necessary to provide the plugin because the file is served with the correct mime-type. Other viewers support that just fine, see above. Do you want me to open a new forum post about this nonetheless before you reopen the issue? |
Well we are all different ;)
|
(there was a 3rd option where I actually do the change ;)) |
Haha, thanks so much! |
When URLs don't end in a file extension, Babylon doesn't seem to be able to understand the served mime type or headers to determine the correct loader.
Example URL: https://cloud-staging.needle.tools/-/assets/Z23hmXB1tXjQr/1tXjQr/file
Repro
Screenshots
Desktop (please complete the following information):
Additional context
The URLs are served with the correct mime type. Other viewers load the file correctly, e.g.
The text was updated successfully, but these errors were encountered: