Closed targrub closed 1 year ago
Hm...i am not able to reproduce this error, but you shouldn't just remove a feature from Cargo.toml
which is used to include/remove parts of the code.
Can you try cargo run --example 2d_two_colors --no-default-features --features 2d
instead of removing something from Cargo.toml
? Do you then still get the error?
You're right; reverting my changes to bevy_svg
's Cargo.toml
and running it as you suggest got the example working again.
However, if I do this:
[dev-dependencies]
bevy = { version = "0.8", default-features = false, features = ["bevy_asset", "bevy_core_pipeline", "bevy_render"] }
#bevy = { version = "0.8", default-features = true }
I get the error.
Sorry for the late reply. If you haven't already solved it, adding the "bevy_winit"
feature solves your problem. Without a window from the OS, Bevy can't draw the pipeline result anywhere.
If you have any questions left, feel free to ask, i'll try to answer as fast as i can.
Modifying the
[features]
block ofCargo.toml
toyielded me the following warnings
no window, and the end of execution for any of the 2d example programs. This is with the latest code in
main
.