Closed NoahShomette closed 10 months ago
Can you reproduce it on main? What if you use the new style on the https://github.com/bevyengine/bevy/pull/11080 branch?
Can you reproduce it on main? What if you use the new style on the #11080 branch?
Yes to both of these. Its still broken in main and on the branch
Great. That's about what what I expected, but it's very helpful to have confirmation.
Great. That's about what what I expected, but it's very helpful to have confirmation.
Hmm super weird but if I try it now on the 0.11 version of Bevy it no longer works. It 100% worked on my project back then though, I definitely used it lol. Rust issue...?
Nevermind. I messed up on this one. Reproduction is wrong but same error. Error was originally that Leafwing added new TypePath bounds to their generic umbrella implementation of plugin for their struct and I copy pasted old code that didn't satisfy the new bounds and it led me on a rabbit hole. Plugin works great still :)
Bevy version
0.12.1
What you did
Plugin implementations with generic parameters can't call
app.add_plugins
on other plugins with generic parameters. This worked in 0.11 however it no longer works as of 0.12.1Note that if you implement a trait with generic bounds and attempt to implement that trait on
App
then you will run into the same issue.Minimum reproduction
Plugin version
Trait version
The error that is returned is: