When running this library (mimicking the basic example) in a Test, the test fails due to Resources existing relating to Rendering:
thread 'plugin_does_not_crash_without_render' panicked at /home/divark/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/system_param.rs:570:17:
Resource requested by bevy_ecs_ldtk::systems::process_ldtk_levels does not exist: bevy_asset::assets::Assets<bevy_sprite::texture_atlas::TextureAtlasLayout>
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_ecs_ldtk::systems::process_ldtk_levels`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!
Steps to Reproduce
Clone this library.
Copy the test code below into tests/no_render.rs
Run cargo test --test no_render --no-default-features --features=internal_levels
Problem
When running this library (mimicking the basic example) in a Test, the test fails due to Resources existing relating to Rendering:
Steps to Reproduce
tests/no_render.rs
cargo test --test no_render --no-default-features --features=internal_levels
The Test Code