-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
BRP world.list_components doesn't work for non-entity specified #23451
Copy link
Copy link
Open
Labels
A-Dev-ToolsTools used to debug Bevy applications.Tools used to debug Bevy applications.C-DocsAn addition or correction to our documentationAn addition or correction to our documentationC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useS-Nominated-To-CloseA triage team member thinks this PR or issue should be closed out.A triage team member thinks this PR or issue should be closed out.
Milestone
Metadata
Metadata
Assignees
Labels
A-Dev-ToolsTools used to debug Bevy applications.Tools used to debug Bevy applications.C-DocsAn addition or correction to our documentationAn addition or correction to our documentationC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useS-Nominated-To-CloseA triage team member thinks this PR or issue should be closed out.A triage team member thinks this PR or issue should be closed out.
Bevy version and features
mainWhat you did
cargo run --example server --features="bevy_remote"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"params":{}What went wrong
{"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"}}bevy/crates/bevy_remote/src/builtin_methods.rs
Line 1319 in fd0e08a