-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
A-Dev-ToolsTools used to debug Bevy applications.Tools used to debug Bevy applications.A-ReflectionRuntime information about typesRuntime information about typesC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished
Description
Bevy version
Bevy 0.15
What you did
Spawn a component with BRP, specifically without reflecting Deserialize
What went wrong
Bevy responds to the request with an error: Unknown component type: bevy_reflect::DynamicEnum
.
I think this has to do with how we're looking up the component in the type registration, using Dynamic-
types instead of the concrete type.
Additional information
If a type reflects Deserialize
, the request works flawlessly
Possibly relevant: https://docs.rs/bevy_remote/0.15.0/src/bevy_remote/builtin_methods.rs.html#817
Metadata
Metadata
Assignees
Labels
A-Dev-ToolsTools used to debug Bevy applications.Tools used to debug Bevy applications.A-ReflectionRuntime information about typesRuntime information about typesC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished