You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.1
Note 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.
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:
The text was updated successfully, but these errors were encountered: