Skip to content

Observers causes a panic in scenes #16332

@s-puig

Description

@s-puig

Bevy version

e155fe1

What you did

Create a simple scene with an observer.

What went wrong

Scene spawn system causes a crash caused by the observer.

Additional information

Observers are a component that doesn't implement Reflect, thus causing the crash.

PS: Scene spawning should never cause a crash in the first place, either building the scene should be fallible or the scene spawning ignored with a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsA-ScenesSerialized ECS data stored on the diskC-BugAn unexpected or incorrect behaviorC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-ComplexQuite challenging from either a design or technical perspective. Ask for help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions