Closed benfrankel closed 3 months ago
Related to https://github.com/bevyengine/bevy/issues/13571, though at the time I created that ticket it was only bevy_pbr
that needed to be included.
This happened in the bevy_ecs_tilemap upgrade I'm working on when running the examples -- https://github.com/StarArawn/bevy_ecs_tilemap/pull/537
at the time I created that ticket it was only
bevy_pbr
that needed to be included.
That because you enabled only bevy_winit
feature, but in this issue bevy_core_pipeline
is also enabled, which adds SmaaPlugin, which loads ktx2 textures, which wants zstd zlib for supercompression
The question is: Do we want Smaa to be optional, or bevy_core_pipeline to require ktx2?
Ideally the SMAA LUTs should be behind a feature flag. I should be able to turn off default features and be able to run with a minimal feature set.
Using the published v0.14.0-rc.3 crate, I am seeing this issue if bevy_core_pipeline and multi_threaded are the only features enabled. Minimal reproduction: https://github.com/knutsoned/rc3-winit-example
Confirming I'm also hitting this in a trivial empty integration test for Hanabi.
This is an issue for several of my apps -- I don't want to compile bevy_pbr
for a 2d game.
Bevy version
0.14.0-rc.2
What you did
Note: The following setup runs fine in bevy 0.13.
In
Cargo.toml
:In
main.rs
:What went wrong
It runs but immediately crashes with error message:
After enabling the
ktx2
feature, we get a new crash:After enabling the
zstd
feature, we get a new crash:After enabling the
bevy_pbr
feature, there is no crash.