-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
webp asset_server load error #12353
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
P-Compile-Failure
A failure to compile Bevy apps
Comments
v-kat
added
C-Bug
An unexpected or incorrect behavior
S-Needs-Triage
This issue needs to be labelled
labels
Mar 6, 2024
Thanks for the report. I think I spotted the issue. See #12355. As a workaround, you can enable the |
rparrett
added
A-Rendering
Drawing game state to the screen
A-Assets
Load files from disk to use for things like images, models, and sounds
and removed
S-Needs-Triage
This issue needs to be labelled
labels
Mar 7, 2024
Thanks. Confirmed that using the |
github-merge-queue bot
pushed a commit
that referenced
this issue
Mar 7, 2024
…#12355) # Objective Fixes #12353 When only `webp` was selected, `ImageLoader` would not be initialized. That is, users using `default-features = false` would need to add `png` or `bmp` or something in addition to `webp` in order to use `webp`. This was also the case for `pnm`. ## Solution Add `webp` and `pnm` to the list of features that trigger the initialization of `ImageLoader`.
mockersf
pushed a commit
that referenced
this issue
Mar 8, 2024
…#12355) # Objective Fixes #12353 When only `webp` was selected, `ImageLoader` would not be initialized. That is, users using `default-features = false` would need to add `png` or `bmp` or something in addition to `webp` in order to use `webp`. This was also the case for `pnm`. ## Solution Add `webp` and `pnm` to the list of features that trigger the initialization of `ImageLoader`.
spectria-limina
pushed a commit
to spectria-limina/bevy
that referenced
this issue
Mar 9, 2024
…bevyengine#12355) # Objective Fixes bevyengine#12353 When only `webp` was selected, `ImageLoader` would not be initialized. That is, users using `default-features = false` would need to add `png` or `bmp` or something in addition to `webp` in order to use `webp`. This was also the case for `pnm`. ## Solution Add `webp` and `pnm` to the list of features that trigger the initialization of `ImageLoader`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
P-Compile-Failure
A failure to compile Bevy apps
Bevy version
0.13.0
[Optional] Relevant system information
WASM Linux Chromium web build with trunk
What you did
Tried to use a webp image with
asset_server.load
and.insert_resource(AssetMetaCheck::Never)
had thewebp
feature enabled in cargo along withbevy_asset
What went wrong
The image doesn't load and there's a stacktrace
Additional information
The text was updated successfully, but these errors were encountered: