bevyengine / bevyengine/bevy

ECS debug names should be on by default

Open
#21,478 2 comments 2 reactions 0 assignees View on GitHub
A-ECS C-Bug S-Nominated-To-Close X-Needs-SME
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

In order to save a few mb, we removed the things that should be on by default, even in release.
Error & crash logs, analytics, performance monitoring, all these things would require knowing the name of components, systems and etc.

## What solution would you like?

I would not like to have another feature flag enabled just to get default convention for production enabled.
It should be the opposite, if you want to get rid of these names, have a flag for that.

I would like to see more focus on having things being default for something that will eventually run in production on peoples devices, as opposed to a bunch of hobby projects.
Removing things that would potentially be used for crash loggings, or analytics as default in order to save a few megabytes, seems counter-productive. You're going to have to turn it on at some point, no?

Am I missing something here?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the ECS debug-name configuration and the existing feature flag or build setting that controls it. Done means establishing whether names are enabled by default for release builds, while preserving an explicit way to disable them and confirming the resulting production-size tradeoff.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
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.