Skip to content

In 0.14.0-rc.2, minimal app with bevy_core_pipeline crashes without ktx2, zstd, and bevy_pbr #13728

@benfrankel

Description

@benfrankel

Bevy version

0.14.0-rc.2

What you did

Note: The following setup runs fine in bevy 0.13.

In Cargo.toml:

[dependencies]
bevy = { version = "0.14.0-rc.2", default-features = false, features = [
    "bevy_core_pipeline",
    "bevy_winit",
    "x11",
] }

In main.rs:

use bevy::prelude::*;

fn main() {
    App::new().add_plugins(DefaultPlugins).run();
}

What went wrong

It runs but immediately crashes with error message:

Failed to load SMAA area LUT: UnsupportedTextureFormat("Ktx2")

After enabling the ktx2 feature, we get a new crash:

Failed to load SMAA area LUT: SuperDecompressionError("Unsupported supercompression scheme: Zstandard")

After enabling the zstd feature, we get a new crash:

Resource requested by bevy_core_pipeline::core_3d::extract_core_3d_camera_phases does not exist: bevy_render::render_phase::ViewBinnedRenderPhases<bevy_core_pipeline::core_3d::Opaque3d>

After enabling the bevy_pbr feature, there is no crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorC-DependenciesA change to the crates that Bevy depends onS-Needs-ReviewNeeds reviewer attention (from anyone!) to move forward

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions