bevyengine / bevyengine/bevy

Make batching opt-in unless we know it is a good default to have enabled

Open
#9,894 1 comment 0 reactions 0 assignees View on GitHub
A-Rendering C-Feature C-Performance C-Usability
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

As in the title. Noting this so we don't forget to do it.

For now, automatic batching is possibly risky to have enabled by default for customised rendering and it may be tricky to debug. As such, @cart suggested that perhaps for things where we know automatic batching works well (StandardMaterial + Mesh, ColorMaterial + Mesh2d, etc) it could be enabled by default, but custom things would have to opt-in.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the automatic batching implementation and its default configuration, then review how StandardMaterial + Mesh and ColorMaterial + Mesh2d are identified. Done means those known-safe combinations remain enabled by default while custom rendering requires explicit opt-in, with coverage for both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.