Bug: loadTextures
ignores provided format
#10378
Labels
📢 Accepting PRs
Would welcome a PR from the community.
🤩 Good First PR
Indicating to new contributors a PR is simple/easy. Things like documentation or type fixes.
👍 Not A Bug
Verified issue and is working as intended.
Current Behavior
Our images are hosted without a recognizable file extension.
Assets
API seem to indicate that the format can be optionally provided throughUnresolvedAsset
.Unfortunately,
loadTextures
ignores this information and only looks up the extension from the URL.Expected Behavior
loadTextures
should use the provided format.Steps to Reproduce
Environment
pixi.js
version: 8.0Possible Solution
One workaround that seems to work is to specify the
loadParser
as:It would be great to add this information in the documentation BTW, because it's really arcane.
Additional Information
No response
The text was updated successfully, but these errors were encountered: