Open
Description
Bevy version
0.15.0
What you did
I'm working on implementing scripting support using bevy_reflect.
What went wrong
There's something weird going on with petgraph::graph::DiGraph
:
OpaqueInfo {
ty: petgraph::graph::DiGraph<bevy_animation::graph::AnimationGraphNode, (), u32>,
generics: Generics(
[],
),
docs: None,
}
This type clearly has generic parameters, but the generics field is empty.
Additional information
The reflection is implemented using the macro impl_reflect_opaque!
, maybe something there goes wrong.