#Draw lines with main branch bevy?
22 messages · Page 1 of 1 (latest)
bevy_prototype_lyon's main branch targets bevy main and it was just updated yesterday. have there been breaking changes since then?
error[E0277]: the trait bound `ShapePlugin: Plugin` is not satisfied
--> src/main.rs:10:21
|
10 | .add_plugin(ShapePlugin)
| ---------- ^^^^^^^^^^^ the trait `Plugin` is not implemented for `ShapePlugin`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `Plugin`:
AnimationPlugin
AssetCountDiagnosticsPlugin<T>
AssetPlugin
AudioPlugin
CameraPlugin
CameraProjectionPlugin<T>
ColorMaterialPlugin
Core2dPlugin
and 40 others
note: required by a bound in `bevy::prelude::App::add_plugin`
--> /home/USER/.cargo/git/checkouts/bevy-f7ffde730c324c74/3aaf746/crates/bevy_app/src/app.rs:806:12
|
806 | T: Plugin,
| ^^^^^^ required by this bound in `bevy::prelude::App::add_plugin`
When I .add_plugin(ShapePlugin)
Which is odd. Since it does impl Plugin.
when you get errors like that usually it means that Plugin that ShapePlugin implements and Plugin that .add_plugin requires are from two different versions of bevy
maybe try cargo update?
Wouldn't that imply I'd need to use [patch.crates-io]?
what does your Cargo.toml dependencies look like first
damn, i dont think those patch.crates-io are necessary
for bevy_prototype_lyon you can use git as is
for bevy_prototype_debug_lines you have to use the branch bevy-main. same for bevy_tweening, except the branch is bevy_main.
bevy_polyline has its own revision in main, so you'll have to patch it
Erm, bevy_prototype_lyon is still errors, with & without crate patches.
have you tried cargo clean then cargo update
bevy_tweening uses bevy 0.8
except in their bevy_main branch, but that is very out of date
Trying...
That's odd.
Reallly odd. Changed it to
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main"}
Now it works.