Skip to content

examples/demo/follow panics on setup #84

@KABoissonneault

Description

@KABoissonneault

Describe the bug
When I run cargo run --examples follow, the program panics during the .add_plugins step on the ResourceInspectorPlugin.

thread 'main' (928237) panicked at [...]/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_reflect-0.18.1/src/type_registry.rs:347:13:
attempted to call `TypeRegistry::register_type_data` for type `bevy_gizmos::config::GizmoConfigStore` with data `bevy_inspector_egui::inspector_egui_impls::InspectorEguiImpl` without registering `bevy_gizmos::config::GizmoConfigStore` first

To Reproduce
Steps to reproduce the behavior:

  1. Run cargo run --examples follow on the latest commit
  2. See panic

Additional context
If I remove the line with ResourceInspectorPlugin::<Config>::new(),, the example works, but without the expected egui window

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions