-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
A-Dev-ToolsTools used to debug Bevy applications.Tools used to debug Bevy applications.C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Milestone
Description
Bevy version and features
main
What you did
- in terminal 1 run
cargo run --example server --features="bevy_remote" - in terminal 2 run
curl -d'{"jsonrpc":"2.0","method":"world.list_components","id":1,"params":{"entity":null}}' -X POST -H "Accept: applcation/json" -H "Content-Type: application/json" http://127.0.0.1:15702 - also tried with
"params":{}
What went wrong
- Got response
{"jsonrpc":"2.0","id":1,"error":{"code":-32602,"message":"invalid type: null, expected u64"}}and{"jsonrpc":"2.0","id":1,"error":{"code":-32602,"message":"missing fieldentity"}} - Expected to get a list of all registered components, as per
bevy/crates/bevy_remote/src/builtin_methods.rs
Line 1319 in fd0e08a
// If `None`, list all registered components.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-Dev-ToolsTools used to debug Bevy applications.Tools used to debug Bevy applications.C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong