Skip to content

Is debugdump lacking some information ? #60

@ThierryBerger

Description

@ThierryBerger

in today's discovery, I realized that bevy's initialization is quite complex, as it requires an "update" before having registered all components:

playground with bevy 0.15: https://learnbevy.com/playground?share=3f41d0ce49af0f5569aaf321d6d56e52899a0c66c8b065ad10aa227bc72bfa7d

// bevy 0.16
let mut app = App::new();
app.add_plugins((
    DefaultPlugins,
));
// 301 registered components
app.finish();
// 306 registered components
app.cleanup();
// 307 registered components
app.update();
// 441 registered components

I suspect systems may be in a similar state 🤔

I'm wondering if bevy_mod_debugdump is considering this.

I can probably make an easier repro if there's interest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions