Bevy is a free, code-first 2D and 3D game engine written in idiomatic Rust and dual-licensed under MIT and Apache-2.0. Built around a lock-free parallel Entity Component System (ECS) and a cross-platform wgpu renderer, it targets systems-minded developers shipping desktop, WebAssembly/WebGPU, and mobile games with zero royalties.
Technical Overview
Architecture and Production Workflow
Bevy discards traditional object-oriented scene inheritance in favor of an archetype-based Entity Component System where every engine subsystem (transform propagation, input, PBR rendering, UI, audio, and asset loading) is implemented as standard Rust structs, Components, Resources, and Systems. Its scheduler inspects function type signatures (Query<&mut Transform, With<Player>>, Res<Time>) at startup and dispatches non-conflicting systems across CPU worker threads automatically without manual mutex locking. Bevy 0.15 introduces Required Components and entity Observers, cutting boilerplate bundle definitions while preserving strict compile-time memory safety.
Rendering runs atop wgpu, translating WGSL shaders natively to Vulkan, Metal, DirectX 12, WebGPU, and WebGL2. The 3D PBR pipeline supports clustered forward lighting, cascaded shadow maps, screen-space ambient occlusion, temporal anti-aliasing, irradiance volumes, and GPU-driven indirect drawing. Assets load asynchronously from .glb/.gltf scenes and KTX2/Basis Universal compressed textures with optional hot-reloading from disk. Because Bevy currently operates without a finished official visual scene editor, teams assemble levels either via code, Blender-to-glTF workflow plugins such as Blenvy and skein, or LDTK/Tiled importers for 2D worlds.
Pricing, Licensing, and Commercial Rights
Bevy is 100% free and open source under the dual MIT or Apache-2.0 license, stewarded by the non-profit Bevy Foundation. Studios pay $0 per seat and 0% royalties regardless of company funding or game revenue, and Apache-2.0 includes an explicit patent grant protecting commercial adopters. Proprietary game crates link statically into standalone native executables (cargo build --release) with full freedom to keep game code closed source.
Strengths and Tradeoffs in Studio Pipelines
| Pipeline Dimension | Production Strength | Practical Limitation |
|---|---|---|
| Multithreaded Simulation | Automatic parallel ECS scheduling ideal for factory sims, RTS, and roguelikes | Minor breaking API migrations occur roughly every 3 to 4 months (0.14 to 0.15) |
| Graphics Portability | Clean wgpu + WGSL stack targeting native Vulkan/Metal/DX12 and browser WebGPU | Official visual scene editor is still in active pre-release development |
| Build & Tooling | Single cargo dependency tree (avian3d, bevy_rapier, bevy_kira_audio) | Clean builds require lld/mold linkers and dynamic linking flags for fast iteration |
Configure Bevy's dynamic_linking Cargo feature alongside the mold or lld linker during active development to trim incremental Rust recompile cycles down to 1-2 seconds.
AI Transparency & Steam Disclosure
Standard SoftwareProcedural math, physics, or manual authoring software.
Steamworks guidance: Standard software workflow; Steam AI disclosure does not apply.