Skip to content

Asset loading depends on the "multi-threaded" feature being enabled #10209

Closed
@komadori

Description

@komadori

Bevy version

5d110eb (0.12-dev)

Relevant system information

AdapterInfo { name: "NVIDIA GeForce 940MX", vendor: 4318, device: 4941, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "535.113.01", backend: Vulkan }
SystemInfo { os: "Linux 21.2 Linux Mint", kernel: "5.15.0-86-generic", cpu: "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz", core_count: "4", memory: "31.2 GiB"

What you did

Run the animated_fox example using a subset of Bevy's default features that was sufficient with the previous release (0.11).

cargo run --release --example animated_fox --no-default-features --features="animation,bevy_asset,bevy_scene,bevy_winit,bevy_core_pipeline,bevy_pbr,bevy_gltf,bevy_render,ktx2,zstd,png,x11,tonemapping_luts"

What went wrong

The fox asset is not displayed at all, only the background.

However, if I add the "multi-threaded" feature then the example works correctly. Is it intentional that this feature is required for asset loading to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions