bevyengine / bevyengine/bevy

Observers causes a panic in scenes

Open
#16,332 2 comments 0 reactions 0 assignees View on GitHub
A-ECS A-Scenes C-Bug C-Usability D-Complex
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## 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.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the crash with a simple scene containing an observer, then inspect the scene-spawning path and how non-Reflect components are handled. Done means scene spawning no longer panics; the issue suggests either a fallible build or a warning when the observer cannot be represented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.