Runtime Monitoring & Modification Tool for Bevy Engine in VSCode extension.
- Not Official: This is a community-driven project, not affiliated with the official Bevy Engine team.
- Early Development: Currently in alpha stage - expect bugs and missing features. Contributions welcome!
- Review hierarchy of all entities in your scene
- Rename and destroy entities
- Review and modify components of entities in real time
| Bevy Version | Status |
|---|---|
| 0.16+ | Supported |
Built on Bevy Remote Protocol via JSON-RPC 2.0 over HTTP.
- Install the extension from the official VSCode Marketplace
- Also available on Open VSX
- Add required dependencies to your
Cargo.toml:
[dependencies]
bevy = { version = "0.16", features = ["bevy_remote"] }- Initialize plugins in your Bevy App:
fn main() {
App::new()
.add_plugins(RemotePlugin::default()) // Core remote protocol
.add_plugins(RemoteHttpPlugin::default()) // Enable HTTP transport
// ...other plugins
.run();
}- Launch your game and connect from VSCode using the extension.
For built-in Bevy components (with Reflect trait), inspection works automatically. For custom components:
#[derive(Component, Reflect, Default)] // Derive `Reflect` trait:
#[reflect(Component, Default)] // 'Component' is required for recognition
struct SimpleWeapon {
#[reflect(ignore)] // Optional: hide sensitive fields
secret_code: String,
damage: f32,
charge_time: f32,
}
fn main() {
App::new()
// ...other plugins
.register_type::<SimpleWeapon>() // Register type
// ...other registrations
.run();
}Resource inspection not supported - work in progress
Refer to the examples directory for fully functional Bevy applications demonstrating correct configuration.
- Reflection - https://docs.rs/bevy/latest/bevy/reflect/index.html
- RemoteHttpPlugin - https://docs.rs/bevy/latest/bevy/remote/http/struct.RemoteHttpPlugin.html
Your engagement keeps Bevy Inspection thriving. Thank you!
- splo/bevy-inspector-vscode - vscode extension
- Lommix/bevy_inspector.nvim - nvim extension
- jakobhellermann/bevy_editor_pls - bevy plugin
- jakobhellermann/bevy-inspector-egui - bevy plugin
- idanarye/bevy-yoleck - development kit
- reneeichhorn/bevy-remote-devtools - software (last update in 2022)
